Last active
August 16, 2017 18:07
-
-
Save youhide/b1558cef1c28e0e40b90a6083b709e86 to your computer and use it in GitHub Desktop.
Add crontab on the fly
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 | { cat; echo "* * * * * myscript"; } | crontab - | |
OR | |
(crontab -l ; echo "* * * * * myscript")| crontab - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment