[Lvlug] Crontab & cron
High Mobley
high.mobley at qbangsolutions.com
Sun Mar 7 19:54:30 PST 2010
How about specifying an absolute path to the cronout file?
High Mobley
q!Bang Solutions
(702) 518-6932 main
(702) 523-6786 mobile
(702) 446-0341 fax
high at qbangsolutions.com
http://www.qbangsolutions.com
On Sun, Mar 7, 2010 at 7:51 PM, User Fwc <fwc at frankcole.lvcm.com> wrote:
> On Sun, 7 Mar 2010, 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?
>
>
> Replying to myself here.
>
> Looked at /var/log/cron with 'tail -f', crontab line shows as being run.
> Mar 7 19:45:00 ibm /usr/sbin/cron[1175]: (fwc) CMD
> (/usr/home/fwc/temp/timestamps)
>
> Also included path to 'date' in timestamps, no help.
> #!/bin/sh
> /bin/date >> cronout
>
> Out of ideas...
> _______________________________________________
> Sent via the Lvlug mailing list Lvlug at lvlug.org
> Set options or unsubscribe at http://lvlug.org/mailman/listinfo/lvlug
> The Lvlug mailing list is hosted courtesy of LasVegas.Net
>
More information about the Lvlug
mailing list