HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

am lost all cron job

Super Advisor

am lost all cron job



i am lost all cron job of my user security, where i use the crontab -l command nothing appear.

i have backup of my OS (11.31) but i want to restore this file only what is the full path it is required to restore

all cronjobs file. to i can restored





Honored Contributor

Re: am lost all cron job

The file to restore would be /var/spool/cron/crontabs/<username>.


If you restore the file in-place, you have to notify the cron daemon: one easy way might be to run "crontab -e" to edit it and add a single comment line, e.g:

# restored from backup on 2011-10-04 by Mousa55


When you save the file, the crontab command will automatically notify the cron daemon to make it re-read the file.