Configuration of scheduled tasks
You use the command line in combination with 'Windows Taakplanner' ('Windows Scheduler'). This allows you to have Windows perform command lines at fixed times.
Content |
Procedure
- Schedule regular tasks
After creating the bat file, you can schedule it using the Windows function Scheduled tasks.
- Scheduled tasks with more than one schedule
You can perform a task several times a day by adding it to Windows Task Scheduler.
- Check for presence of batch file with IF EXIST
You can check whether certain files are present using an 'IF EXIST' command. You can use this to execute commands via a batch file.
- Command line for general logging via batch file
Profit maintains a log file while running a batch file if you entered this in the command line. Profit only logs errors in this file. You can maintain a simple log file that saves a line before and after running the batch file.