#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2013
    Posts
    1
    Rep Power
    0

    Validate a yearly schedule


    Hi,
    I need to automate validation of running yearly schedule of an application . to do this. we need to validate if the schedule kicks off every year. to do this. we need create a yearly schedule from application . once the schedule runs we need to change the system date and time ahead of one year . I have the module to change system time ready . How would i write logic to run this schedule and move the date ahead and then make sure schedule kicks off next year and then change the date and so on...
    -susan
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,850
    Rep Power
    481
    Use the batch processing system for this. In linux use crontab or anacron .
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo