Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > using cron

using cron
Thread Tools
Junior Member
Join Date: May 2002
Status: Offline
Reply With Quote
Jan 16, 2003, 04:23 AM
 
This is my first time to use cron. I have updated crontab with the task I want to run. It does not seem to be working. Do I need to restart cron after changing crontab? The path to the command specified in crontab is correct.
     
patzoul  (op)
Junior Member
Join Date: May 2002
Status: Offline
Reply With Quote
Jan 16, 2003, 05:41 AM
 
does cron work when the mac is sleeping?
     
Forum Regular
Join Date: Jun 2001
Location: On the move again...
Status: Offline
Reply With Quote
Jan 16, 2003, 07:34 AM
 
After you edit the crontab file, you must execute it with the command

"crontab <name of crontab file>

Cron jobs do not execute while the computer is in sleep mode - NO processes execute as the cpu is idled. However, Cron entries should be preserved as sleep maintains things already resident in RAM. Those jobs should become active again when the computer is awakened. However, if you want them to run all the time, you will have to disable sleep (although, of course, the monitor's power save settings can still be set independently).
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:17 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2