Article Listing 1 oct2004.tar

Listing 1 Crontrol command line help (-h) output

$ crontrol -h

/usr/local/bin/crontrol is used to maintain per-user crontab entries 
in a way that allows automation. Allows the creation of LIBRARIES of 
template crontab entries for easy deployment on multiple systems.

Usage:
        /usr/local/bin/crontrol Mode [ Options ]

        Where Mode ONE of:
        -a XXX  ADD a new entry to crontab
        -B      Print all TEMPLATE entries in the liBrary
        -c XXX  COMMENT out an entry (disable)
        -d XXX  Delete named entry(s)
        -l      List all entries
        -L XXX  Install id XXX from Library
        -m XXX  Modify entry
        -u XXX  UnComment an entry (re-enable)
        (Where XXX is the ID TAG of an entry)

        Where Options are:

        -C XXX  Command to run
        -D XXX  Day of Month Spec
        -H XXX  Hours Spec
        -I XXX  Change ID of entry (where XXX is new ID)
        -M XXX  Minutes Spec (see crontab man page)
        -N XXX  moNth Spec
        -T XXX  Textual comment 
        -W XXX  Weekday Spec

        -F      Fake it! Just Print out the proposed crontab.