RE: crontab

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

 



I have to enter my crontabs with a dot between the days field and the script
name.  For example:

30 23 * * * . /u01/scripts/backup.sh >> backup.log

Kelley Coleman
Database Administrator
VA Health Administration Center
Denver, Colorado

Confidentiality Note:  This e-mail is intended only for the person or entity
to which it is addressed, and may contain information that is privileged,
confidential, or otherwise protected from disclosure.  Dissemination,
distribution, or copying of this e-mail or the information herein by anyone
other than the intended recipient is prohibited.  If you have received this
e-mail in error, please notify the sender by reply e-mail, phone, or fax,
and destroy the original message and all copies. Thank you



-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of Anže Vidmar
Sent: Wednesday, May 25, 2005 12:27 AM
To: General Red Hat Linux discussion list
Subject: RE: crontab


Maby a stupid question, but anyways: 

- did u restart the cron deamon after you made changes to the crontab?
- if you look in /var/log/cron, do you evern see that cron is trying run the
script?
- check roots email to see if cron is reporting any errors regarding this
job

Anze


-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
On Behalf Of Muhammad Rizwan
Sent: Wednesday, May 25, 2005 8:14 AM
To: Vipul Ramani; General Red Hat Linux discussion list
Subject: Re: crontab


YES

On Tue, 2005-05-24 at 23:35, Vipul Ramani wrote:
> Hi,
>  did u make executable to your shell script. ???
>   Regards,
> 
>  On 5/23/05, Manuel Arostegui Ramirez <manuel@xxxxxxxxxxxxxx> wrote: 
> > 
> > El Lunes 23 Mayo 2005 10:00, Muhammad Rizwan escribió:
> > > I have my script that is running fine when i run it as:
/root/shelltest.
> > > But when i try to run it from crontab its not working at all. My entry
> > > in crontab is: 2 * * * * /root/shelltest.
> > > Any idea?
> > >
> > > Thanks
> > 
> > Try with this line:
> > 2 * * * * root /root/shelltest
> > 
> > 
> > --
> > Manuel Arostegui Ramirez #Linux Registered User 295750
> > Socio de Hispalinux 1813
> > Red Hat Linux 9, Kernel 2.6.2 ReiserFS
> > Firma cifrada
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.0.6 (GNU/Linux)
> > Comment: For info see http://www.gnupg.org
> > iD8DBQE+3O1MqfmPcHTj+twRAm
> > yDAJ9P6ezepIMg06vOet/YPKxVoB+Z/ACfWVhh
> > ---END PGP SIGNATURE-----
> > 
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> > 
> 
> 
> 
> -- 
> Vipul Ramani
> linux2000in@xxxxxxxxx
> linux2000in@xxxxxxxxx
> ~~~~~We Know HOW NetWorkS ~~~~~

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux