[Lvlug] Crontab & cron
Tom Garland
tom.garland at gmail.com
Sun Mar 7 19:54:00 PST 2010
On 03/07/2010 07:34 PM, User Fwc wrote:
> Playing with crontab and can't get the entry to execute.
>
> Cron running, top shows
> 734 root 1 8 0 3212K 1288K nanslp 1 0:00 0.00% cron
>
> crontab -l shows
> 0-59/5 * * * * /usr/home/fwc/temp/timestamps
>
> Crontabs file under
> /var/cron/tabs
> shows
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.2PvlqUcoLo installed on Sun Mar 7 18:53:53 2010)
> # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v
> 1.24.6.1 2008/11/25 02:59:29 kensmith Exp $)
> 0-59/5 * * * * /usr/home/fwc/temp/timestamps
>
> The 'timestamps' script is
> #!/bin/sh
> date>> cronout
> and it will execute from the command line.
>
> Permissions are
> -rwxr--r-- 1 fwc fwc 27 Mar 7 18:13 timestamps*
>
> I've even tried restarting the machine.
> She no work. Ideas?
How about replacing "0-59/5" with "60/30" and see if it
executes every 2 minutes as a test?
Good Luck - Tom
--
'Intellectual Property'. Intellect is virtual. Property is real.
'Virtual Reality' Duh! Have Fun and Be Helpful - Toga
#LVLUG on IRC.FREENODE.NET for online chat.
More information about the Lvlug
mailing list