How to setup a cron jobs with php version in virtualmin?

Follow the following steps to setup a cron jobs with php version

  1. Click Webmin on the top-left >> System >> Scheduled Cron Jobs.
  2. Create a new scheduled cron job.
  3. To run as the admin user, enter root .
  4. Enter the cron command in the command field. For example, if you want to run PHP 7.3 with:

/opt/rh/rh-php73/root/usr/bin/php -q /home/pathtocron

  • 25 Users Found This Useful
Was this answer helpful?

Related Articles

How to increase PHP memory limit in virtualmin

To increase the PHP memory limit in Virtualmin, do the following:   1. Log into Virtualmin...

How to change password of Virtualmin

Please follow the below steps to change the password of the Virtualmin Admin. Login to...

How to create an email account in Virtualmin

To create an email account in Virtualmin, do the following: logged into Virtualmin. Choose...

How to install FREE SSL certificate in Virtualmin

Please follow the below steps to install a FREE SSL certificate in Virtualmin. 1. logged into...

How to run Cron job manually in Virtualmin

Please follow the below steps to run the run cron job manually in Virtualmin.   Login to...

Powered by WHMCompleteSolution