Help with scheduled task

Moderators: Site Moderators, PandeGroup

Help with scheduled task

Postby k1wi » Wed Feb 29, 2012 12:04 am

I have a network connection that falls over on a fairly regular basis, but I have a script that restores it... Obviously it's important that the connection is restored when FAH attempts to send and receive - is there a way in which I can use Windows Scheduled Tasks to run the script when FAH fails to upload a work unit?

The computer is using Win7.
k1wi
 
Posts: 1152
Joined: Tue Sep 22, 2009 10:48 pm

Re: Help with scheduled task

Postby Ravage7779 » Wed Feb 29, 2012 1:03 am

I doubt it, probably a whole lot easier to detect a lack of connectivity and run the script based on that. Easiest would be to fix the underlying problem.
Get more Mac OS X folding help from the friendly experts @ http://www.foldingathome.org/index.html
Image
User avatar
Ravage7779
 
Posts: 289
Joined: Sun Jun 21, 2009 10:42 pm

Re: Help with scheduled task

Postby PinHead » Wed Feb 29, 2012 2:19 am

I think you would need a script that detects the failure and then kicks the restore script. But Windows does have scheduled tasks, they run no matter what at scheduled times even if the connection is not down or if the connection is mid-transmission.

So you could add a scheduled task that pings the outside world every x minuntes/seconds and then calls the restore script based on error code/level.
PinHead
 
Posts: 351
Joined: Tue Jan 24, 2012 3:43 am


Return to V6.34Beta SMP2 with passkey [Not Bigadv]

Who is online

Users browsing this forum: No registered users and 1 guest

cron