This tutorial covers how to setup a Cron job. Cron is a service for executing scheduled commands.
It assumes you have first [logged into Virtualmin](/documentation/tutorial/how-to-log-in).
Webmin on the top-left.
Scheduled Cron Jobs.
Create a new scheduled cron job.
0. Choose the user to run as, and input the username in
Execute cron job as. To run as the administrative user, input
0. Enter the command to run into the
Command field. For example, if you want to receive a list of all running processes, enter
ps auxw for the command.
0. Normally, you can skip
Input to command. That's only used if your command requires input after it begins running.
0. Choose how frequently to run your command. By default, it will execute
Hourly, meaning it will execute at the top of the hour, every hour.
0. To enable the Cron job, click
Any output will be emailed to the