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 > Help using crontab....

Help using crontab....
Thread Tools
Dedicated MacNNer
Join Date: Feb 2003
Status: Offline
Reply With Quote
Jul 3, 2003, 04:16 AM
 
Using crontab and/or Cronnix I set up a script to run at a set time. Only it won't run. I figure it's a question of permissions even though I've chown it. The file is there under /etc/etc/var/tabs/username and the command is correct. What did I miss? Thanks.
     
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
Jul 3, 2003, 04:44 AM
 
Originally posted by jgift:
Using crontab and/or Cronnix I set up a script to run at a set time. Only it won't run. I figure it's a question of permissions even though I've chown it. The file is there under /etc/etc/var/tabs/username and the command is correct. What did I miss? Thanks.
could you show us the crontab -l and the permission to the path you'r script lies in. for instance /etc/etc does not have +x then your script might not be able to be launched.
     
jgift  (op)
Dedicated MacNNer
Join Date: Feb 2003
Status: Offline
Reply With Quote
Jul 3, 2003, 05:49 AM
 
could you show us the crontab -l and the permission to the path you'r script lies in. for instance /etc/etc does not have +x then your script might not be able to be launched.

The file:
00 10 * * * /usr/local/bin/shellscripthere

The shellscript has rw and nor x permissions...
in /var/cron/tabs

What does it need to ahve?

Thanks.
     
jgift  (op)
Dedicated MacNNer
Join Date: Feb 2003
Status: Offline
Reply With Quote
Jul 3, 2003, 06:02 AM
 
1. Under /var/cron/tabs is my contrab file foo.
2. Permissions on tabs is root. Changed to user and no difference.
3. Permissions on foo are -rwx--x--x now and no difference. Changed to own by user and again no change.

I had it working last install... Just don't have noted how <sigh>.
     
   
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 09:59 AM.
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