The duration is merely how long you expect the task to run...
So, if a program is gonna take an hour to run, then it has to force you to set the next scheduled task to be 1 minute after.. this is due to the fact that if a task is running when another task comes into play, then you are gonna get a blue screen of death..
So, even though you set it for another minute, this tells task scheduler that it's not going to repeat during the 1 hour period. you could even go so far as to check the "kill this task if it's still running" (or something like that) box and ensure that the previous task is over when the new one starts.
hope this helps/makes sense.
Edit :
SP, that does exactly what task manager does... only you are writing it out instead of just assigning it through the gui..
scheduling a php page to run every hour....
Moderator: General Moderators
It seems that as my php is complied as cgi need something like this in my script:
#!/usr/local/bin/php -q
Also do i need the full path with domain or server path to file?
I seem to have got it to run with GET http://fullpath/file.php
how do i make it email a result to me and set the address?
#!/usr/local/bin/php -q
Also do i need the full path with domain or server path to file?
I seem to have got it to run with GET http://fullpath/file.php
how do i make it email a result to me and set the address?
i use this for Windows cron tasks
http://www.splinterware.com/products/wincron.htm
http://www.splinterware.com/products/wincron.htm