Re: Problems running SH jobs using CRON

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

 



On Tue, Aug 12, 2008 at 1:04 PM, jeff goudie <jrgoudie@xxxxxxxxx> wrote:
>
> [root@alice jeff]# cat /var/spool/cron/root
> 45 12 * * 0 root /bin/sh /home/jeff/jeffbkup.sh
> 11 3 * * 6 root /home/jeff/rsynchbkup.sh
>
> When each scheduled job fires off, I get an email from Cron_Daemon
> with this message:
>
> /bin/sh: root: command not found

Remove the word 'root' from both lines?

I'm not positive, but if the two scripts have the proper #!/bin/sh
line in them, putting /bin/sh in the crontab line should also be
unnecessary.

Dave

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux