atbas logo

 2Fax
 Barkix
 SATutils
 miniDB
 pCmd
 wCron
-General
-Installation
-Example cron.tab
-License
-Changes
- wCron.zip
 wSSH
 Andokus
 Various

Basic Apps and Software
 

 wCron: Cron.tab example


    # ----------------------------------------------------------------------
    # Title          wCron.tab
    # Description    Unix like cron entries for repeating jobs
    # ----------------------------------------------------------------------
    # +------------------ Minute            (range: 0-59)
    # |   +-------------- Hour              (range: 0-23)
    # |   | +------------ Day of the Month  (range: 1-31)
    # |   |   | +-------- Month of the Year (range: 1-12)
    # |   |   |   |   +-- Day of the Week   (range: 0-7, where 0 and 7 is Sunday)
    # |   |   |   |   |
    # *   *   *   *   *   Command           (if starts with ~ it suppresses logging)
    # ----------------------------------------------------------------------
    # Enable some activity logging
    #$log=4
    #
    # ---- Start only when cron service is started ----
    ?     ?   ?   ?   ?   wcrontest.cmd run at cronstart
    #
    */15  *   *   *  1-5  ~wcrontest.cmd evry 15 min weekdays
    5     8   *   *   *   ~wcrontest.cmd each day 5 past 8
    8     8  1-14 *   *   ~wcrontest.cmd 1st half of the month 8 past 8
    #
    */2   *   *   *   *   wcrontest.cmd every 2 minutes
    */3   *   *   *   *   wcrontest.cmd every 3 minutes
    #

Crontab definition support for :
    Settings in front of line:
        #$log=[0-9]    loglevel 0=none 1=some .. 9=very, default 1
    
    Time specifications:
        *         =  every minute/hour/...
        ?         =  replaced by startup minute/hour/...
        0-23      =  range, happens on 0,1,2, ....
        1-23/4    =  range with step, happens on 1,5,9, ....
        */4       =  range with step, happens on 0,4,8, ....
        0,3-6/2,9 =  multiple, happens on 0,3,5,9
    
    Optional 1st character before command:
        ~         =  disable logging and debug information
        -         =  some log information
        =         =  more log information
        +         =  enable debug information