Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.4.8 cron / crontab not working after upgrade.



Title: Re: 10.4.8 cron / crontab not working after upgrade.
At 11:05 PM -0500 2/16/07, Scott Russell wrote:
I guess I'm clueless here ... why would you need to add anything to your PATH to make a cron job work?

Because his jobs rather sillily expect a specific, funky PATH.

  What's incorrect about the following:

my-ibook:~ srussel2$  crontab -e   ## to edit your own crontab file
## add the following line to make an hourly job
0       *       *       *       *       /full/path/to/your/script/you/want/to/run/every/hour

Nothing, and is how it would much better be expressed.

Even though launchd is the preferred method going forward, this "old-style" cron syntax still works.  You may want to do a `man 5 crontab`.

Only if you use cron ;)
-- 

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                      http://www.ustsvs.com/
email@hidden                                http://www.iwiring.net/
1-714-363-1174

"The wise man doesn't give the right answers, he poses the right
questions." -- Claude Levi-Strauss

------------------------------------------------------------------------

iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >10.4.8 cron / crontab not working after upgrade. (From: David <email@hidden>)
 >Re: 10.4.8 cron / crontab not working after upgrade. (From: Gregor Alessi <email@hidden>)
 >Re: 10.4.8 cron / crontab not working after upgrade. (From: Scott Russell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.