Welcome to the Linux Foundation Forum!

crontab fail to start, pls help?

I type this 10,20,30,40,50 * * * * /root/auto.pl

my log file

Jun 23 10:10:01 localhost crond[7702]: (root) CMD (/root/auto.pl)

Jun 23 10:20:01 localhost crond[12022]: (root) CMD (/root/auto.pl)

Jun 23 10:30:01 localhost crond[14610]: (root) CMD (/root/auto.pl)

Jun 23 10:40:01 localhost crond[18676]: (root) CMD (/root/auto.pl)

Jun 23 10:50:01 localhost crond[22402]: (root) CMD (/root/auto.pl)

Jun 23 11:01:01 localhost crond[29476]: (root) CMD (run-parts/etc/cron.hourly)

but my application doesnt run at all.

my script is in perl language

Thanks in advance

Comments

  • gomer
    gomer Posts: 158
    Whose cron tab is it in, and does that user have permission to execute the file in /root ?
  • mfillpot
    mfillpot Posts: 2,177
    It appears bu looking at the log that the script did run as root, or am I reading it incorrectly?

    If it file did or did not run, what are you using to flag the success of failure of the script?

Categories

Upcoming Training