Patrick MARION a écrit :
Can you tell more about your script.
The first thing about difference between command line dand cron is about
environment or perhaps STDIN.
Perhaps you can make a trace with several "print tracexxx" at several
critical places in your script.
Without redirection to an explicit file all output of a cron script are
routed with mail to the cron user.
FRANCIS PROVENCHER a écrit :
Hi all,
I'v add a perl script in my crontab (To execute with root rigth)
If i execute the perl script in command line, all work fine.
Here the log from /var/log/cron
*Nov 29 14:55:00 (NameOfTheServer) /usr/sbin/cron[16782]: (root) CMD
(/root/Scripts/update.pl)*
Cron execute the job....
if i make the "top" command....;
*16785 root 1 8 0 6296K 5764K wait 0:01 0.00% perl5.8.8*
**
The script stay in "wait" mode....
Some one can help me ton find why these script wont finish...
(I'v no error in /var/log/message)
Thanks for your help!
Francis Provencher
Ministère de la Sécurité publique du Québec
Direction des technologies de l'information
Division de la sécurité informatique
Tél: 1 418 646-3258
Courriel: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
CEH - Certified Ethical Hackers
SSCP - System Security Certified Practitionner
Sec+ - Security +
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/