You can create a scheduled task in the Windows Control Panel (WCP) to automate scripts, executables, or system commands on a recurring basis. This task is available to Account Users with the appropriate permissions to manage scheduled tasks within their assigned environment.
Before you begin
You will need:
An active Windows Control Panel (WCP) account.
The specific file path, command, or script you wish to run.
Knowledge of the desired frequency (e.g., daily, weekly) and the specific time the task should execute.
Create a scheduled task
Log in to the Windows Control Panel.
Navigate to Task Scheduler (or the equivalent task management module within the WCP interface).
Select Create Task from the available actions.
In the General tab, provide a descriptive name for the task (e.g.,
Daily_Database_Backup).Navigate to the Triggers tab and click New.
Select the desired schedule (e.g., Daily, Weekly, or Monthly) and define the start date and time.
Navigate to the Actions tab and click New.
Under Action, select Start a program.
In the Program/script field, enter the full path to the executable or script (e.g.,
C:\Scripts\backup.bat).If required, provide any necessary arguments in the Add arguments field.
Select OK to save the action.
Select OK to finalize the task creation.
Confirm the result
The new task will appear in the list of tasks within the Windows Control Panel.
You can verify the status of the task by selecting it and clicking Run to ensure it executes as expected.
The Last Run Result column will display a success code (such as
0x0) if the task completed successfully.
Limitations
The task will only run if the underlying service or application required by the script is active.
Permissions to run specific scripts or access certain system folders are governed by the account's local permissions; if the task fails to start, verify that the user account has the necessary rights to execute the target file.
