Re: crontab



El Miércoles, 31 de Enero de 2007 18:53, Thibaut escribió:
Hi

I try to use the crontab.
When I'm logged as root I enter "crontab -e"
Then I past "*/15 8-18 * * 1-5 parse.sh 2>/dev/null 1>/dev/null"
Then I exit and have the message : "crontab: installing new crontab"

When I'm logged as root I can execute normaly : "./parse.sh"

Where I am wrong ?

Thibaut

You have to put the full PATH to parse.sh, that's to say, for
instance, /root/parse.sh

By the way, it's not a good idea to redirect the output to /dev/null, if
something didn't work you would not be able to notice it.
All the best.

--
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.

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



Relevant Pages

  • RE: redhat-list digest, Vol 1 #8436 - 23 msgs
    ... i am unable to crontab -l or crontab -e as user root. ... usb memory key ... iTunes inside of VMWare inside of Windows ... When you plug the memory stick in, log in as root and use 'fdisk -l /dev/sda' to look at the partition table. ...
    (RedHat)
  • [Fwd: OpenBase SQL multiple vulnerabilities Part Deux]
    ... # Writing to roots crontab seems to be fairly prompt at handing out root shells ... This ensures that cron is running when the fake root crontab is created. ... the OpenBase family of products have been enabling some of the most innovative business applications ...
    (Bugtraq)
  • Re: Cron job question
    ... > From: root@somedomain.nl (Cron Daemon) ... You've made the classic mistake of confusing the system crontab ... extra column defining which user ID the command should be run as. ... any new cron jobs for any user (including root) and leave the system ...
    (freebsd-questions)
  • Re: error email from Cron
    ... created a crontab, I got "No crontab for user myuser" ... When I did a crontab -l as root I got: ... This buall file looks like: ...
    (linux.redhat.misc)
  • Re: error email from Cron
    ... >>Well, I've found the problem, but still don't know how to fix it. ... > No, you run cron, not crontab. ... and once as root. ... >>Below is an excerpt from the cron log. ...
    (linux.redhat.misc)