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

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.


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