How to create cron jobs in virtualmin / webmin
Steps 1: Login to your virualmin account.
Step 2: Go to Webmin >> System >> Scheduled Cron Jobs
In the tab section click on Create a new scheduled cron job.
In from fill the data as follows:
a ) Execute cron job as : < give the username > If cron job is related to selected domain then give the username for that domain or use root.
b) Command: If you want to run the command like ps ( to few running process ) then just type the command. If you need to run file then give full path of the file.
c) Input to command: This you can skip, you only need to give input value if your command needs input while its running.
d) When to execute: Default is Hourly, but you can select your required time frame to run it
Step 3: Click on create to create cron job.