RE: crontab

Kelley.Coleman_at_med.va.gov
Date: 05/25/05

  • Next message: Don Eisele: "samba 3 ignores short preserve case?"
    To: redhat-list@redhat.com
    Date: Wed, 25 May 2005 08:30:02 -0500
    
    

    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@redhat.com
    [mailto:redhat-list-bounces@redhat.com]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@redhat.com [mailto:redhat-list-bounces@redhat.com]
    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@todo-linux.com> 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@redhat.com?subject=unsubscribe
    > > https://www.redhat.com/mailman/listinfo/redhat-list
    > >
    >
    >
    >
    > --
    > Vipul Ramani
    > linux2000in@gmail.com
    > linux2000in@yahoo.com
    > ~~~~~We Know HOW NetWorkS ~~~~~

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

  • Next message: Don Eisele: "samba 3 ignores short preserve case?"

    Relevant Pages

    • Re: GPG in crontab causes blank messages
      ... When I run my crontab command manually in terminal, ... But since the output of the script contains a big list of files, ... If I remove the GPG portion of the command, ...
      (comp.sys.mac.apps)
    • Re: [kde] Clock
      ... In FreeBSD you ask crontab to do your script any ... Account management: ... crontab, a tiny shell script, ... Archives: http://lists.kde.org/. ...
      (KDE)
    • Re: cron.daily error
      ... How would I figure out where that source file is to fix it? ... leads me to believe that it must be coming from a different crontab. ... In which case you would need to determine which script ... There may be some small delays causing the timestamps not to ...
      (Debian-User)
    • Re: cron chgrp woody
      ... those commands to crontab and skip using the script. ... has right to change group of files in that directory (=owner of those ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: [kde] Clock
      ... I thought Linux + FreeBSD were close enough. ... In FreeBSD you ask crontab to do your script any minute of the ...
      (KDE)