On Tue, 27 Jul 2004
elemint@theriver.com wrote:
> I have created a cron job and while logged in as root the scipt runs
> fine but if I configure crontab like contab -u root -e the job does not
> run.
>
> I do see the job start in /var/log/syslog
>
> The way that I know the job does not work sucessfully is becuase part of
> the job is to send out an email and that is not working unless running
> it at the command prompt as root.
Maybe the mail environment is different. Have a look in your mail logs.
Add some debugging to the cron job to report what parts it gets to.
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss