Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    script didn't run in cron, is there something wrong?

    i have a script put in cron.daily and edit the var/spool/cron/crontabs/root file with this text

    # Run daily cron jobs at 10 minutes:
    10 * * * * /usr/bin/run-parts /etc/cron.daily 1> /dev/null
    yet its not working..
    where else did i go wrong
    is it script that i've wrote?

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Harrow, UK
    You need to show us the actual script for someone to tell you that.

    Have you given full pathnames for all commands in the script? I once had a cron script which didn't work because I had used simple command names, assuming that cron used the same command path as root - it doesn't!
    "I'm just a little old lady; don't try to dazzle me with jargon!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts