How to schedule a bot for daily or weekly at particular time?
I have developed one bot(automation) which interacts web application, download a file/report available in that application and save into local folder.
1. What I intend to achieve is… I can schedule the bot(automation) to run on a daily or weekly basis at certain time. this bot will do the work in the back end and get the output file stored in a specific folder locally.
2. How to configure credentials which required for login page of web application.
I would use Task Scheduler to kick off the robot at a specific time as well as some code internally to your project that shuts it down when finished or at a specific time.
Check between each work item so you don't shut down in the middle of anything.
I have the code for the bat file I'd use to start Runtime below.
I prefer to store credentials using the CredentialStore component (available in the Advanced tab of the Toolbox). I then create a small project to write these credentials into the machine. This makes the setting of the credentials a setup task separate from implementation of the robot (i.e. the robot just expects the credentials to be there).
BAT File to Start Runtime
CD "Program Files (x86)\OpenSpan\OpenSpan Runtime"
REM CD "C:\Program Files (x86)\OpenSpan\OpenSpan Studio for Microsoft Visual Studio 2015"
TASKKILL /IM OpenSpan.Runtime.exe /F
EXEC OpenSpan.Runtime.exe project="path to project.OpenSpan"
I am not using Robot Manager and customer wants to run the project or bot in back ground they do not want to interact with that bot.
They wants schedule at one particular time for every day and then bot has to be start up automatically on the same timings for everyday and terminate after completing that task(Bot has to be run in customer machine)This is what customer expecting.
Please post steps or provide some sample project which was scheduled.