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

Re: cron



Quoting Bruno <albireo@ifrance.com>:

| j'ai un petit probleme de cron.
| mes taches (1) dans la crontab ne se lance pas. j'ai créé le fichier 
| /etc/cron.allow et m'y suis incrit dedans mais c'est pareil.
...
| root@eagle-star:/var/spool/cron/crontabs# less bruno
| # DO NOT EDIT THIS FILE - edit the master and reinstall.
| # (/tmp/crontab.XXXXdZv4yW installed on Sun Jul 21 19:00:34 2002)
| # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie 
| Exp $)
| 0 * * * * cd /home/bruno/seti; setiathome -nice 19 > /dev/null 2> 
| /dev/null

Si je ne me trompe pas ce n'est pas une mais deux commandes.
Je ne sais pas si cron fait attention à ça mais c'est possible.
Pour transformer ça en une seule commande utilise un &&:
cd /home/bruno/seti && setiathome -nice 19 ...

D'autre part n'hesite pas a donner le chemin absolu des applications 
(/usr/local/bin/setiathome ?)

Pierre

-- 
Je ne suis pas un navigateur ne m'envoyez pas de html
I'm not a browser don't send me html

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


-- 
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: