Created
November 26, 2020 15:50
-
-
Save TheRusskiy/c3b90bf3d6aafed16cbc0e82d0c718cc to your computer and use it in GitHub Desktop.
Convert whenver-style strings to crontab format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Whenever::Output::Cron.new(:monday, nil, '3:01 am', {}).time_in_cron_syntax | |
# => "1 3 * * 1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment