FreeKB - 0 Create a crontab entry in bash script
Create a crontab entry in bash script

The following command can be run from the Teriminal or in a Bash shell script to add an entry to a users crontab.

(crontab -l 2>/dev/null; echo "* * * * * * /path/to/script") | crontab -

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 5cc24 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |