Help - Search - Members - Calendar
Full Version: Crontab Question
Linuxhelp > Support > Technical Support
Robert83
I've added a few jobs into my crontab , by making a file and entering there what to run and when

[The cron tab file is a text file organised as follows
MINUTE(0-59) HOUR(0-23) DAYOFMONTH(1-31) MONTHOFYEAR(1-12) DAYOFWEEK(0-6) Note 0 = Sun
with * standing for a wildcard. ] <--hope this is correct

mycrontab.txt
[ 00 02 * * * /opt/bdc/bdc --update ]
[ 00 04 * * * /opt/bdc/bdc --files / --arc --all --disinfect --log=/viruslog/report ]

After that I did this
crontab mycrontab.txt
to set the jobs.

crontab -l I see them listed

The thing that bothers me is, if I reboot this computer, will crontab remember what I told it to do? or will it forget it?


Sincerely
Robert B

from http://www.superscripts.com/tutorial/crontab.html
hughesjr
They will stay ... and we have a cron tab guide as well!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.