Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A shell script may be better suited for this' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A shell script may be better suited for this
Authored by: Rainy Day on Feb 27, '06 12:02:38PM
Given the task (i.e. a cron job to send an eMail if the modification date of a file isn't what you expect), you may be better off writing a bash script for this. It'll be a lot leaner and, more importantly, far more robust. Doesn't require the use of the GUI Mail.app, doesn't depend on Python, doesn't have the overhead of AppleScript.

Just a thought.

[ Reply to This | # ]

A shell script may be better suited for this
Authored by: erikh on Feb 28, '06 02:30:10AM
Not to mention, cron can do this for you if you print something to the standard error.

[ Reply to This | # ]