windows task scheduler problem..!!!

  • Thread starter Thread starter coolbuddyin
  • Start date Start date
  • Replies Replies 45
  • Views Views 9,558

coolbuddyin

Regular
Messages
230
Location
NA
ISP
dataone
hi,when i schedule disconnect,bat file to work at 7.57am in morning.for 3 days it worked fine but now task is running but net is not disconnected,

but same batch file scheduled to work at 1.57am in morning working fine
batch files individually and manually tested working fine,and
also in task scheduler log showing that task was run succesfully
but net is not disconnected
today i created a task for disconnection at 7.57 and another task at 7.58 (to repeat at 7.59also)
but these two task ran succensfully as shown in task scheduler log


Code:
"Disconnect before 2am.job" (Disconnect.bat)    Started 11/7/2007 1:57:00 AM"Disconnect before 2am.job" (Disconnect.bat)    Finished 11/7/2007 1:57:00 AM    Result: The task completed with an exit code of (0)."Disconnect.job" (Disconnect.bat)    Started 11/7/2007 7:57:00 AM"Disconnect.job" (Disconnect.bat)    Finished 11/7/2007 7:57:01 AM    Result: The task completed with an exit code of (0)."Disconnect at 7.58.job" (Disconnect at 7.58.bat)    Started 11/7/2007 7:58:00 AM"Disconnect at 7.58.job" (Disconnect at 7.58.bat)    Finished 11/7/2007 7:58:00 AM    Result: The task completed with an exit code of (0)."Disconnect at 7.58.job" (Disconnect at 7.58.bat)    Started 11/7/2007 7:59:00 AM"Disconnect at 7.58.job" (Disconnect at 7.58.bat)    Finished 11/7/2007 7:59:00 AM    Result: The task completed with an exit code of (0).
but net didnt discoonected
but when why i change time fot the above tasks for testing say 10.30am its working fine
only in morning not working pls help

the applictions running at this time were utorrent and flashget,dataone quickusage finder (night scheduler disabled),
i dont think these will not prevent disconnection,
 
can you post the contents of your disconnect.bat file? did you change any settings in the programs which might be blocking the disconnection?
 
rasdial Dataone /disconnectthis is content in disconnetiondialup connection name is Dataonethe programmes which are running are utorrents,flahget,dataone quick usage finder,avg antivirus,shutdown programmeduntrack (to track connection log),bandwidth monotor pronone of these hav any options such as or related to disconection,when i'm rescheuling same schedule task which fialed to launch disconnection batch file to some later time at any point of time working absolutely fine(with all these app running,as earlier)windows scheduler not able to intiate disconnect command,or something is preventing before 8but it worked fine for first three days,so i even unchecked option,stop task if run for 72hrs
 
The disconnect is needed , if you are running a connect program , say after 2am I think you should check that batch file. May be the disconnect at 7.58 etc unable to overide the connected program.
 
aha "stop task after 72 hrs" that is about 3 days which is the time you are facing problem? try deleting the task scheduler entry and creating a new one and this time uncheck that option from the beginning, see if that helps :)doh, you already craeted a new task i see, nevermind, ignore my suggestion. try renaming the disconnect.bat to something else like disco.bat and create a new task for this new file ...
 
@ essbebe The disconnect is needed , if you are running a connect program , say after 2am, i didnt get u., pls tell in detail

@vishalrao done all that,what i created at 7.58 is new batch file and new task.task was runnning,but some prob not disconnecting


same batch file used to disconnect at 1.57am and 7.57am
1.57 am working and 7.57am in not working
even 7.58 task also not worked...
whenever i reschedule to check them at different time,they are working like charms,but at 7.57 am not working
i tried changing system time back to 7.55 am at 8.30am in morning and they worked this time...!!hope u got my point, actually in realtime they are decieving me
 
can you post the contents of your disconnect.bat file? did you change any settings in the programs which might be blocking the disconnection?
@coolbuddyin please post the program .
I feel some other program is preventing the shut down of Modem at 0758.
( may be updates around this time ). Visualise one program trying to keep the connection on and your program trying to disconnect . Disable one by one and check. Or is it Windows auto update ?
( also check in Task Manager running applications)
 
he did post it, it is simply "rasdial Dataone /disconnect" :)anyhows, try disabling avg antivirus and see if it works, then add the disco.bat to the exclusion list of AVG... who knows?
 
@coolbuddyin please post the program .
I feel some other program is preventing the shut down of Modem at 0758.
( may be updates around this time ). Visualise one program trying to keep the connection on and your program trying to disconnect . Disable one by one and check. Or is it Windows auto update ?
( also check in Task Manager running applications)


to check that only i reversed my pc clock to 7.55 at 8.30am in morning (just to create same environment) and saw for few min,then it worked fine,as per my schedule,u torrent,flashget,everything did run again ,net got disconnected,
but y the hell,its not working in morning ,when actually needed


my screensaver turned off ages ago,my system also never goes into sleep mode,and monitor also not automatically turned off
i think idletime maybe preventing the batchfile to read from disc,
in utorrent there is option,prevent standby when active downloads are there ,will it hav any effect?
when i reversed back clock,this option on,nut net got disconnected
 
Disable flashget and try disconnect at 0755. etc. I checked DAP, and provision is there to hang up the modem/shut the computer/restart the computer when d/l complete etc. Try with this downloader. Check the Task manager: running applications btn 0757 to 0759?
 
Back