KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to be able to programatically add a new cron job, what is the best way to do this? From my research , it seems I could dump the current crontab and then append a new one, piping that back into crontab: (crontab -l ; echo "0 * * * * wget -O - -q http://www.example.com/cron.php") | crontab - Is there a better way?
Tags (comma-separated)
Save Edits
Cancel