Michael Bevilacqua on 30 Jul 2007 17:50:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Problems with cron running daily/monthly jobs




On 7/30/07, Michael Bevilacqua <michael@bevilacqua.us> wrote:

On 7/30/07, Mark Baker <mark.baker@hxti.com > wrote:

 

My crontab looks ok:

 

SHELL=/bin/bash

PATH=/sbin:/bin:/usr/sbin:/usr/bin

MAILTO=root

HOME=/

# run-parts

01 * * * * root run-parts /etc/cron.hourly

02 4 * * * root run-parts /etc/cron.daily

22 4 * * 0 root run-parts /etc/cron.weekly

42 4 1 * * root run-parts /etc/cron.monthly

 

The error makes me believe that cron isn't finding /bin/bash which is listed as the shell.  I am going to try /bin/sh


I would check your scripts in your directories and insure that you have chmod u-x and granted them the proper permissions.



--
Michael D. Bevilacqua
michael@bevilacqua.us

I meant chmod u+x,  not u-x.

--
Michael D. Bevilacqua
michael@bevilacqua.us
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug