Schedule Jobs and Tasks With Windows At Command – POFTUT

Schedule Jobs and Tasks With Windows At Command

Linux have the same command for same reasons to schedule commands and jobs for specified times and periods. Windows have the same command with similar usage too. Alternative to this command is schtasks command which will schedule future jobs too. We will look some usage examples of at command.

Help

Help about at command can be listed with /? option.

Help

Help

Schedule Job

Jobs can be scheduled easily. We will specify the time and command with its parameters. In this example 11:00:00PM is given as time and echo "hi" is given as command and parameter.

Schedule Job

Schedule Job

Schedule Recurrent Job

We can create a a job which will run every given time or date period. In this example we create a job which will run defrag c: command every Sunday .

Schedule Recurrent Job

Schedule Recurrent Job

List Scheduled Jobs

There will be a lot of all ready scheduled jobs. We can list those jobs. We may list these jobs to learn their id and delete them. We will use at command without any option to list existing jobs.

List Scheduled Jobs

List Scheduled Jobs

Delete Scheduled Jobs

All ready created jobs can be deleted with /delete option and the id of the job. In this example we will delete job id 2 .

LEARN MORE  How To Schedule Tasks From Command Line In Windows With Schtasks?

Leave a Reply

Your email address will not be published. Required fields are marked *

Enjoy this blog? Please spread the word :)