Skip to content
#

cron

Here are 1,435 public repositories matching this topic...

bree
FlyingPumba
FlyingPumba commented Jun 30, 2021

I saw in the documentation that "on the first day of the month" works as an interval and assumed that "on the fifth day of the month" would work as well. However, it is not a valid string neither for the later nor human-interval libraries. Sadly, the human-interval library returns 0, instead of NaN for this particular string, so no error is thrown and the job does not work (it never fires)

jmrozanec
jmrozanec commented Oct 5, 2017

I need something like below:

newCronExpression = convert (localCronExpresn,fromLocalTZ, "UTC")

Is it possible using cron-utils?

Let me give an example:

My local timezone is IST i.e. GMT+5.30.

Current local time is: 11:20 AM.

I want a job to run in 45 min of every hour.

So, my cron expression: 45 * * * *

Hence I am expecting my job to run after 25 min ( as starting time

Improve this page

Add a description, image, and links to the cron topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the cron topic, visit your repo's landing page and select "manage topics."

Learn more