[X-Unix] Cron problem

Eugene list-themacintoshguy at fsck.net
Wed Jun 22 16:21:35 PDT 2005

On Wed, Jun 22, 2005 at 05:23:29PM CDT, Norman Cohen <nacohen at mac.com> wrote:
: 2 points. With cron you need the full path to the date
: function. Type "which date" in the terminal to get the path.

Actually, crontabs let you set the environment, so you can add
other directories to PATH.

: Second, I'd suggest formatting the date string to not include
: the colon character. In applescript, this is the default
: symbol for separating directories and files in partial or full
: paths, just as the / character is used in unix. 

Or just go with a pure numeric value like a Unix timestamp.


More information about the X-Unix mailing list