Women in Technology

Hear us Roar



Article:
  Learning the Terminal in Jaguar, Part 1
Subject:   Pilot error & Pico help.
Date:   2003-01-27 10:40:41
From:   anonymous2
To: MR.CHRIS O'REILLY,



Without incident, I reached the "pico stage" of Jaguar, Part 1, without incident when I made a mistake I am not sure how to cure.
I opted for attempting to create my own schedule and in doing so a mistake was made. Can I somehow reset to the default configuration and start over?


Current system: G4,running as fine usual, it is my unfamiliarity with the command line that has me concerned. Although obviously a command line novice, this is not my first BBQ. (yes, I will buy book) so if you respond it should be fairly painless.


Thank you for your time,


M.S.


M.S




Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Chris Stone photo Pilot error & Pico help.
    2003-01-28 11:43:27  Chris Stone | O'Reilly AuthorO'Reilly Blogger [View]

    If you followed each step of the tutorial, including the one which backed up your crontab file, you can restore it with:

    sudo cp /etc/crontab.bak /etc/crontab

    Otherwise, you might try repairing yours by looking at the screenshot in the article, or pasting this in:

    # /etc/crontab
    SHELL=/bin/sh
    PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
    HOME=/var/log
    #
    #minute hour mday month wday who command
    #
    #*/5 * * * * root /usr/libexec/atrun
    #
    # Run daily/weekly/monthly jobs.
    15 3 * * * root periodic daily
    30 4 * * 6 root periodic weekly
    30 5 1 * * root periodic monthly

    Hope that helps...

    --Chris