Changes between Version 1 and Version 2 of SchedulerPlugin


Ignore:
Timestamp:
Apr 8, 2010 5:06:44 PM (4 years ago)
Author:
thanos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SchedulerPlugin

    v1 v2  
    4242 
    4343class MyJob(JobSpec): 
    44     """ 
     44    """ 
    4545    Run this script with logging in debug mode. 
    4646    Run every 45 minutes. 
    4747    Run /usr/local/etc/myscript at yesterday's date as a command argument. 
    48     """ 
    49     
     48    """ 
     49    grouping="/All Jobs/Tests" 
    5050    log_level=DEBUG 
    51     cron="* * * 45" 
    52     cmd ="/usr/local/etc/myscript --date=%s" % today(-1) 
    53     run= "runA, runB" 
     51    cron="* * * 45"; 
     52    cmd ="/usr/local/etc/myscript --date=%s"; % today(-1) 
     53    run= "runA, runB"; 
    5454 
    5555    def setUp(self):