How to Create Cron Jobs with Webmin

Webmin is a web-based system administration tool for Linux and other Unix-like servers. Webmin provides a graphical interface for many of the tasks you would normally have to perform from the command line. Best of all, it is free and open source. One task you might have trouble performing from the Linux shell is creating cron jobs. Fortunately, Webmin has a cron job module.

  1. Navigate to the cron job module page
  2. Click “Create a new scheduled cron job”
  3. Under “Execute cron job as”, enter the username you want to run the cron job
  4. Select whether you want the cron job to be active (selecting no will create it but leave it inactive until you change this setting)
  5. Type the command string in the command field
  6. If you have data you need sent to the command, enter it in the “input to command” field
  7. Select the time you want for “when to execute”. The dropdown menu will give general times like “hourly”. Alternatively, you can use “Times and dates selected below” and setup your own schedule.
  8. Optionally, setup “Date range to execute” to limit the cron job to a time period. After it expires, it will not run again.
  9. Click “create” to finish.