dognose - 2013-03-05

Usage:
Download (or build from source code) the application and put it into a directory along
with a file called "timers.txt".

There you can define any timers u need.

Calls supported:
- file:{filepath}
- url:{url_including_http}

Each call is executed, when the given "pattern" matches the current date in the format
Year-Month-Day Hour:Minute:Second

so, a call like

 file:{filepath} * * * * 0 0

will be executed EVERY year, EVERY Month, EVERY day, EVERY hour AND "0" minutes AND "0" seconds. (so, every full hour)

Example for timers.txt file:

#Cron Like Timer scheduling
# Examples:
#
#Pattern: url:http://www.google.de year month day hour minute second
#Pattern: file:C:\test\file.bat year month day hour minute second
#
#
#every 30 minutes
url:http://www.google.de * * * * 0 0
url:http://www.google.de * * * * 30 0

#every year on christmas! at 7 am
url:http://google.de * 12 24 7 0 0

#every 1th of month at 00:00 am
file:C:\first_of_month_bat.bat * * 1 0 0 0

#every 5 minutes
file:C:\every_5_minute_bat.bat * * * * 0 0
file:C:\every_5_minute_bat.bat * * * * 5 0
file:C:\every_5_minute_bat.bat * * * * 10 0
file:C:\every_5_minute_bat.bat * * * * 15 0
file:C:\every_5_minute_bat.bat * * * * 20 0
file:C:\every_5_minute_bat.bat * * * * 25 0
file:C:\every_5_minute_bat.bat * * * * 30 0
file:C:\every_5_minute_bat.bat * * * * 35 0
file:C:\every_5_minute_bat.bat * * * * 40 0
file:C:\every_5_minute_bat.bat * * * * 45 0
file:C:\every_5_minute_bat.bat * * * * 50 0
file:C:\every_5_minute_bat.bat * * * * 55 0

#every hour
file:C:\hourly_bat.bat * * * * 0 0
 

Last edit: dognose 2013-03-05