[CentOS] backing up pending at commands

Frank Cox

theatre at melvilletheatre.com
Sun Mar 2 00:47:03 UTC 2014


I can easily get a copy of my pending cron jobs so I can keep a backup. "crontab -l > mycron.txt" is part of my backup script, and that does the job nicely.

Is there a way that I can get a copy of pending at jobs for this purpose?  I can get a list of pending jobs with atq, and I can show each job with at -c jobname, but I don't see a way to get something that is suitable for use as a file that I can keep as a backup of the pending jobs.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com



More information about the CentOS mailing list