Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drift to made part of the cron entry itself. #1

Closed
caronc opened this issue Apr 22, 2017 · 0 comments
Closed

drift to made part of the cron entry itself. #1

caronc opened this issue Apr 22, 2017 · 0 comments

Comments

@caronc
Copy link
Owner

caronc commented Apr 22, 2017

The drift entry should be part of the cron string itself like so:

   //     +------------------------------ second (0 - 59)
   //     |  +--------------------------- min (0 - 59)
   //     |  |  +----------------------- hour (0 - 23)
   //     |  |  |  +----------------- day of month (1 - 31)
   //     |  |  |  |  +----------- month (1 - 12)
   //     |  |  |  |  |  +----- day of week (0 - 6) (Sunday=0)
   //     |  |  |  |  |  |  +- drift time (defaults to zero)
   //     |  |  |  |  |  |  |
   //     -  -  -  -  -  -  -
   //     *  *  *  *  *  *  *

To add a shortcut '+' allowing quick (shortcut) access to the drift field, hence:
* /5 +20 would be the same as writing * /5 * * * * 20

caronc added a commit that referenced this issue Apr 23, 2017
caronc added a commit that referenced this issue Apr 23, 2017
@caronc caronc closed this as completed Apr 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant