LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cron job (https://www.linuxquestions.org/questions/linux-newbie-8/cron-job-342570/)

wbatzle 07-12-2005 04:10 PM

cron job
 
I am fairly new to linux and would like to know exactly what to do to schedule my slimserver to restart itself once a week. I have some basic knowledge like how to edit files in vi and what not. Matter of fact my server is at a friend's house so all changes I make are edited in vi. If anyone out there can help it would be greatly appreciated.

tuxrules 07-12-2005 04:15 PM

links out here would help you a lot.

Tux,

leonscape 07-12-2005 04:19 PM

You can do what you want with the command 'crontab -e' this will launch vi, with the current crontab file open, one you've edited it you just save and close and the new file will be used.

The format is very straight forward # at the beggining marks a comment, all the actual jobs start with six fields for timing and a final one with the command., this link will help you Automating tasks with cron


All times are GMT -5. The time now is 07:40 AM.