Is there any way to back up my cron jobs? I have a large number of them in cPanel.
This is a discussion on cron jobs backing up in the Shared & Semi-Dedicated forum
Is there any way to back up my cron jobs? I have a large number of them in cPanel. ...
Is there any way to back up my cron jobs? I have a large number of them in cPanel.
You can use the command line crontab -l (the lowercase letter L) to list your jobs (I think)
and crontab -e to edit them.
Take extreme care not to use crontab -r ; it will erase all of your jobs without warning.
I say "I think" because I currently have no CPanel cron jobs to test out this theory.
if you have a vps and you want all your crontabs, backup /var/spool/cron/
Kind regards,
Patrick
Great. I piped (or whatever doing > is) them into a text file.
Copyright © 2011 JaguarPC.com
Bookmarks