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

  • Posts: 158
    Whose cron tab is it in, and does that user have permission to execute the file in /root ?
  • 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?

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training