India Broadband Forum


Task Schedular

This is a discussion on Task Schedular within the BSNL broadband forums, part of the Broadband Internet Service Providers category; Hi I know this topic should be posted in different section, but as its releated to Task scheduling which many ...

Go Back   India Broadband Forum > Indian Broadband Forums > Broadband Internet Service Providers > BSNL broadband

India Broadband Forum


BSNL broadband Bsnl broadband internet connection and modems, routers and other bsnl dataone related issues can be discussed here.

                      

Reply

 

LinkBack Thread Tools Display Modes
Old 11-14-09, 02:52 PM   #1
Gold Member
 
talktoanil's Avatar
 
Join Date: May 2008
Location: Dombivi
Age: 25
Posts: 584
Rep Power: 2
talktoanil will become famous soon enough
Default Task Schedular

Hi
I know this topic should be posted in different section, but as its releated to Task scheduling which many home 500 users use, i am posting it here

I am using windows 7 and want to use Task Schedular to open a simple notepad file when i log on

For that i created the task and even made sure that every option is set proper, still task did not run even once. i am testing this as i am shifting to Home500 soon.

what the problem can be ?

Any Idea ?
talktoanil is offline   Reply With Quote
Old 11-14-09, 06:38 PM   #2
The Wizard
 
meetdilip's Avatar
 
Join Date: Aug 2009
Posts: 887
Rep Power: 1
meetdilip is on a distinguished road
Default

Try this

Freebyte Task Scheduler
meetdilip is offline   Reply With Quote
Old 11-14-09, 07:02 PM   #3
Gold Member
 
talktoanil's Avatar
 
Join Date: May 2008
Location: Dombivi
Age: 25
Posts: 584
Rep Power: 2
talktoanil will become famous soon enough
Default

Quote:
Originally Posted by meetdilip View Post
Thanks for this..i loved it...simple and neat...but i am still not able to figure whats wrong with my windows 7 task schedular
talktoanil is offline   Reply With Quote
Old 11-14-09, 07:45 PM   #4
Junior Member
 
rsen's Avatar
 
Join Date: Feb 2009
Location: Kolkata
Posts: 84
Rep Power: 1
rsen is on a distinguished road
Default

check the syntax in your text file, it will only be "executable" by the scheduler if it has an extension like .bat or .exe.

Anyway, it's almost always a lot easier to just use a 3rd party scheduler like free download manager
rsen is offline   Reply With Quote
Old 11-14-09, 07:50 PM   #5
Gold Member
 
talktoanil's Avatar
 
Join Date: May 2008
Location: Dombivi
Age: 25
Posts: 584
Rep Power: 2
talktoanil will become famous soon enough
Default

Quote:
Originally Posted by rsen View Post
check the syntax in your text file, it will only be "executable" by the scheduler if it has an extension like .bat or .exe.

Anyway, it's almost always a lot easier to just use a 3rd party scheduler like free download manager
so u mean to say that i cant use TS to open a "text file" ??

a text file has *.txt extension..so it wont open ?
talktoanil is offline   Reply With Quote
Old 11-14-09, 07:57 PM   #6
Junior Member
 
rsen's Avatar
 
Join Date: Feb 2009
Location: Kolkata
Posts: 84
Rep Power: 1
rsen is on a distinguished road
Default

That's right, scheduler will not be able to run a text file.
If you have a batch script in the file, just rename it to <filename>.bat
and it should run fine.

Personally I use windows scheduler to run a batch script that kills Vuze (torrent software) at 7:45am.
rsen is offline   Reply With Quote
Old 11-14-09, 07:58 PM   #7
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

Try this code,

Code:
notepad.exe "root to the text file"
Example:

Code:
notepad.exe "C:\Documents and Settings\Administrator\My Documents\run.txt"
Or this code,

Code:
C:\WINDOWS\system32\notepad.exe "root to the text file"
Example:

Code:
C:\WINDOWS\system32\notepad.exe "C:\Documents and Settings\Administrator\My Documents\run.txt"
in the run box of the Windows Scheduler.
Archer is offline   Reply With Quote
Old 11-14-09, 08:00 PM   #8
The Wizard
 
meetdilip's Avatar
 
Join Date: Aug 2009
Posts: 887
Rep Power: 1
meetdilip is on a distinguished road
Default

To reboot the modem, save the text file as .bat. Even in the Task Scheduler opens the text file, your modem does not reboot.

If you liked the application, please consider a rep.

Try this to create a batch file

http://www.indiabroadband.net/bsnl-b...tml#post154907 (NU Configuration)

Last edited by meetdilip; 11-14-09 at 08:00 PM. Reason: Automerged Doublepost
meetdilip is offline   Reply With Quote
Old 11-14-09, 08:03 PM   #9
Junior Member
 
rsen's Avatar
 
Join Date: Feb 2009
Location: Kolkata
Posts: 84
Rep Power: 1
rsen is on a distinguished road
Default

Quote:
Originally Posted by meetdilip View Post
FreeByte task scheduler doesn't let you kill/terminate/close/shut down apps/processes it only lets you start them.

I found free download manager to be slightly better, letting you hang up your modem at a specified time.
rsen is offline   Reply With Quote
Old 11-14-09, 08:05 PM   #10
The Wizard
 
meetdilip's Avatar
 
Join Date: Aug 2009
Posts: 887
Rep Power: 1
meetdilip is on a distinguished road
Default

We can run a batch file disconnect.bat and disconnect the connection.
meetdilip is offline   Reply With Quote
Old 11-14-09, 08:09 PM   #11
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

And you can add "TASKKILL" command to close an application/process.

Example:

Code:
taskkill /F /IM utorrent.exe
Archer is offline   Reply With Quote
Old 11-14-09, 08:10 PM   #12
Junior Member
 
rsen's Avatar
 
Join Date: Feb 2009
Location: Kolkata
Posts: 84
Rep Power: 1
rsen is on a distinguished road
Default

i know you can use taskkill; what I meant is most schedulers don't really have a good way to cleanly shut down apps at a predetermined time; so you have to run a batch file to kill it.
rsen is offline   Reply With Quote
Old 11-14-09, 08:22 PM   #13
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

I have seen free scheduler applications with all these commands built in. But they are harder the configure than BATCH file and Windows Scheduler.


WakeupOnStandBy


It disconnects the connection and shutdown/hibernate/stand by the system after that (doesn't close applications/processes).
Archer is offline   Reply With Quote
Old 11-14-09, 08:28 PM   #14
Gold Member
 
talktoanil's Avatar
 
Join Date: May 2008
Location: Dombivi
Age: 25
Posts: 584
Rep Power: 2
talktoanil will become famous soon enough
Default

Quote:
Originally Posted by Archer View Post
Try this code,

Code:
notepad.exe "root to the text file"
Example:

Code:
notepad.exe "C:\Documents and Settings\Administrator\My Documents\run.txt"
Or this code,

Code:
C:\WINDOWS\system32\notepad.exe "root to the text file"
Example:

Code:
C:\WINDOWS\system32\notepad.exe "C:\Documents and Settings\Administrator\My Documents\run.txt"
in the run box of the Windows Scheduler.
Thanks for this.... can u give me a link where i can find those command? I am .net programmer..so can make my own as per requirement..



@ALL

even .EXE is not running

last time also i tried, but was not able to do it.so gave up(as its of no use that time).......but now i need it...cauz i will change my plan to Home500.

here are the screen shots.








here are the settings

Quote:
Originally Posted by rsen View Post
That's right, scheduler will not be able to run a text file.
If you have a batch script in the file, just rename it to <filename>.bat
and it should run fine.

Personally I use windows scheduler to run a batch script that kills Vuze (torrent software) at 7:45am.
Please paste contents of your script.

Last edited by talktoanil; 11-14-09 at 08:28 PM. Reason: Automerged Doublepost
talktoanil is offline   Reply With Quote
Old 11-14-09, 08:35 PM   #15
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

Quote:
Originally Posted by talktoanil View Post
Thanks for this.... can u give me a link where i can find those command? I am .net programmer..so can make my own as per requirement..

I usually search the net when I need a command-line code.

Microsoft command-line referance A-Z

http://www.microsoft.com/resources/d....mspx?mfr=true
Archer is offline   Reply With Quote
Old 11-14-09, 08:37 PM   #16
Gold Member
 
talktoanil's Avatar
 
Join Date: May 2008
Location: Dombivi
Age: 25
Posts: 584
Rep Power: 2
talktoanil will become famous soon enough
Default

Quote:
Originally Posted by Archer View Post
I usually search the set when I need a command-line codes.

Link to Microsoft command-line referance A-Z,

Microsoft Corporation
thanks....i remember few year back..we both changed plans at same time u shifted to UL 1350 and me to UL 750

which plan are u using now ?


also please look at my screen shots and please tell if i did anything wrong in it..
talktoanil is offline   Reply With Quote
Old 11-14-09, 08:43 PM   #17
Junior Member
 
rsen's Avatar
 
Join Date: Feb 2009
Location: Kolkata
Posts: 84
Rep Power: 1
rsen is on a distinguished road
Default

taskkill /F /IM Azureus.exe

That's it.
Make a new text file, put that line in it, save it as "myKillVuze.bat", then add it to windows scheduler.

hope this helps.

Batch scripts are really simple if you are a programmer; you can find a very simple & good tutorial here with some useful examples.

btw why is everything grayed out in your SS's ? Do you not have admin rights on ur comp ?

Last edited by rsen; 11-14-09 at 08:43 PM. Reason: Automerged Doublepost
rsen is offline   Reply With Quote
Old 11-14-09, 09:07 PM   #18
Gold Member
 
talktoanil's Avatar
 
Join Date: May 2008
Location: Dombivi
Age: 25
Posts: 584
Rep Power: 2
talktoanil will become famous soon enough
Default

Quote:
Originally Posted by rsen View Post
taskkill /F /IM Azureus.exe

That's it.
Make a new text file, put that line in it, save it as "myKillVuze.bat", then add it to windows scheduler.

hope this helps.

Batch scripts are really simple if you are a programmer; you can find a very simple & good tutorial here with some useful examples.

btw why is everything grayed out in your SS's ? Do you not have admin rights on ur comp ?
paste script with which you start Azureus....

or
do u use task schedular ? if so then please post screen shot...cauz if you take a look at my SC posted above..i cant find any wrong in it and still exe is not starting...
talktoanil is offline   Reply With Quote
Old 11-14-09, 09:27 PM   #19
Junior Member
 
rsen's Avatar
 
Join Date: Feb 2009
Location: Kolkata
Posts: 84
Rep Power: 1
rsen is on a distinguished road
Default

I don't use a script to start azureus, I use "free download manager" to schedule application starts/disconnects/PC shutdown etc.
It's pretty easy to configure and mostly self explanatory.
rsen is offline   Reply With Quote
Old 11-14-09, 09:38 PM   #20
Gold Member
 
talktoanil's Avatar
 
Join Date: May 2008
Location: Dombivi
Age: 25
Posts: 584
Rep Power: 2
talktoanil will become famous soon enough
Default thanks

thanks rsen and Archer

Testing now..will post if any problems.

Any idea of which protocol is used my ADSL2+ routers ?
I mean i have imran broadband helper which runs a script and router is restarted.

So is it a telnet script ?
talktoanil is offline   Reply With Quote
Reply

Tags
schedular, task

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Task manager shebal Computer Security 12 06-03-09 06:08 PM
Auto Net Connect at 2.00 am using Task Scheduler udayan BSNL broadband 8 05-08-09 04:25 PM
Task Manager parshanth Computer Security 29 10-01-08 10:51 PM
What a cumbersome task tkraju BSNL broadband 3 02-23-08 09:18 AM
Unable to run Schedule task rajat.pay BSNL broadband 0 11-26-06 11:37 AM


All times are GMT +5.5. The time now is 11:12 AM.


India Broadband Forum