Created
September 16, 2018 09:11
-
-
Save zsnmwy/be007ce56628fb03e9d68615bb71da04 to your computer and use it in GitHub Desktop.
create a crontab job through shell script
This file contains 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
(crontab -l 2>/dev/null; echo "*/5 * * * * /path/to/job -with args") | crontab - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment