Find the answer to your Linux question:
Results 1 to 2 of 2
I have been beating my head against the keyboard over cron. The daemon is running, so I must have the crontab misconfigured, but I can't figure out how . Here's ...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    22

    [SOLVED] Cron unresponsive

    I have been beating my head against the keyboard over cron. The daemon is running, so I must have the crontab misconfigured, but I can't figure out how. Here's an entry from my root crontab:
    Code:
    55 23 * * 0-4,6 /usr/bin/shutdown -P +5
    Basically, this one is supposed to schedule, at 11:55 every night (except Friday), a shutdown at midnight (the five minutes is so that the system beeps would warn me before shutting down), but it doesn't work. I have an entry with an identical time in my non-root crontab that is supposed to pop up a warning about the imminent shutdown that also fails to run. Any thoughts? Am I supposed to use tabs rather than spaces? What?

  2. #2
    Just Joined!
    Join Date
    Apr 2007
    Posts
    22

    Nevermind

    Nevermind, I think I figured it out. I gave an incorrect path for the shutdown program:
    /usr/sbin/shutdown

    I had a similar typo in my zenity alert cron.

Posting Permissions

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