Git Product home page Git Product logo

Comments (12)

luolongfei avatar luolongfei commented on June 7, 2024

可以的,在什么环境

from freenom.

shaufo avatar shaufo commented on June 7, 2024

docker

from freenom.

luolongfei avatar luolongfei commented on June 7, 2024

docker 设置一个环境变量 RUN_AT,值是 cron 表达式

from freenom.

shaufo avatar shaufo commented on June 7, 2024

微信截图_20231208203050
请问这样设置是否正确?

from freenom.

luolongfei avatar luolongfei commented on June 7, 2024

你这个环境是否需要加双引号,而且你希望的执行频率怎样的?自己网上找个 cron 表达式生成器吧

from freenom.

shaufo avatar shaufo commented on June 7, 2024

微信截图_20231208203639
我配置的时候变量值没有加双引号,cron表达式是从网上生成的。因为到期前14天才可以续期,我所有域名都是同一天申请的,我就设为10天执行一次,这样总不会漏掉。我看了一下日志,应该是能正常识别的。但是以防万一,还是请你帮忙看看。

from freenom.

luolongfei avatar luolongfei commented on June 7, 2024

你的表达式不对,你的表达式意思是每个月10号的10点10分执行一次

from freenom.

luolongfei avatar luolongfei commented on June 7, 2024

推荐在这里写:https://crontab.guru/

from freenom.

shaufo avatar shaufo commented on June 7, 2024

微信截图_20231208214459
微信截图_20231208214706
看了一下,应该每10天运行一次的表达式应该是正确的。

from freenom.

shaufo avatar shaufo commented on June 7, 2024

我应该明白你的意思了,你说我的这个表达式是不是只能每个月的1号,11号,21号,31号运行,不能从今天8号,18,28这样运行?

from freenom.

luolongfei avatar luolongfei commented on June 7, 2024

你是对的,我看错了,太久没写这玩意儿了

from freenom.

luolongfei avatar luolongfei commented on June 7, 2024

只要能过我的正则验证就说明写法没问题,具体频率怎么写就看你自己折腾了

from freenom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.