Knowledgebase: Commands
Auto Start Compiled Bots with Window's Task Scheduler
Posted by Miriam M-B on 18 December 2010 02:45 PM

Wondering how to run your compiled bots in the background with windows task scheduler?
Please see the Wiki for more information on auto-scheduling compiled bots.

/Auto in windows task scheduler, as with any program will run your compiled bot for you.

Please see below for instructions.

1. Open Task Scheduler

2. Click the "Create Basic Task" option on the right side of the page.

3. A small window will pop up asking you to name your task and write a description. Go ahead and do that, and click the Next button when ready to.

4. Under Trigger, you will need to determine when you want your bots to run. Daily? Weekly? Monthly? Go ahead and select daily for this example, and click Next.

5. You will be asked to specify on what day,  what time you want the bot to run, and how frequently you want this task to recur. Go ahead and select a date and time, and click next when you're ready to do so.

6. Under action, select the "Start a Program" option. Click next when ready to do so.

7. Browse for your bot. Under "Add Arguments", type forward slash auto (/auto) into the field. Click Next.

8. Look over the details of your scheduled task. Check the box next to "Open the properties dialog for this task when I click finish" if that si what you want to happen. For this example, we will click the check box.  Click Finish.

9. A properties dialog box will appear, askign you to determine if you want the bot to run when a user is logged on or regardless of that fact. Look over the properties box and determine what settings apply to your task. Click ok when done.

10. Click "Task Scheduler Library" on the left side of the window. Scroll through your list of tasks in the middle of the window and fine your schudeled task. You should recognize it by your title and description. You can choose to select your task, and click "Run" to test your task. 

11.Whether you're clicking "Run" or waiting for your task to pop up, your bot should pop, run, and dissapear after running. 

12. You can delete your task by right clicking it in the task manager library and selecting "delete". 

 

 

 

 


Comments (1)
igor bondarev
09 August 2014 02:14 PM
It runs in the background ? or I will see the bot running ?
If I click run the bot pops up with only the first command and stops, If i press play then it run the bot PS: I dont have a pause in the bot ?
Help Desk Software by Kayako Resolve