Re: Problems running SH jobs using CRON

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

 



On Tue, 2008-08-12 at 19:04 -0400, jeff goudie wrote:
> Hi there,
> 
> I have two SH jobs I've always run manually in the past and would like
> to have them run once a week automatically using cron..  I looked on
> the internet for examples of running SH jobs and used crontab -e to
> create this:
> 
> [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
The argument root should not appear in a crontab entry, See man 5
crontab
> 
> When each scheduled job fires off, I get an email from Cron_Daemon
> with this message:
> 
> /bin/sh: root: command not found
> 
> This endeavor seemed pretty straight forward and after adding /bin to
> my path and still getting the above message, I'm kinda stumped now.
> Any suggestions or any more info I can offer?  Thanks!
> 
--
=======================================================================
"I'm really enjoying not talking to you ... Let's not talk again
____REAL soon ..."
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
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