Re: Applescript schedulers
Re: Applescript schedulers
- Subject: Re: Applescript schedulers
- From: Wayne Melrose <email@hidden>
- Date: Tue, 20 Nov 2007 09:19:48 +0100
On Nov 20, 2007, at 8:58 AM, Paul Scott wrote:
Previously, up to and including Tiger you could edit the crontab
using pico.. maybe it's just a conf file or something.. but using
pico in
/etc/crontab
it's no longer there, which is how i missed it..
Ahh, I see what you were doing. There are two types of
crontabs, a system crontab and a per-user crontab. I
almost always use the per-user crontab, even for the
root account. When you edit per-user crontabs then
you should use crontab -e (with the EDITOR environment
variable having the name of the editor to use).
The system crontab is stored in /etc/crontab and can
be edited directly. If there isn't an /etc/crontab you
can just create one.
The two different types of crontab have a slightly
different format, where the system crontab has an
extra field for the user account under which to
run the command.
I noticed on Leopard, there are some strange messages
in the system.log whenever a job is scheduled from
crontab. It appears that cron may be interacting with
launchd, which would explain why my cron jobs are
running *after* the machine wakes from sleep; that's
a launchd peculiarity.
Wow.. y'know the more you know the more you realise you don't know ;-)
Thanks again for clearing that up for me.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden