Home Tutorial Install Crontab dan Seting cron job WHMCS di Centos
formats

Install Crontab dan Seting cron job WHMCS di Centos

Published on June 20, 2017, by in Tutorial.

Langsung ke terminal menggunakan root :

# yum install cronie

Seting config file di direktori path whmcs :

# nano /var/www/html/whmcsdata/crons/config.php

contoh path whmcs :

$whmcspath = ‘/var/www/html/’;

Seting cron direktori :

# nano /var/www/html/configuration.php

contoh cron direktori :

$crons_dir = ‘/var/www/html/whmcsdata/crons/’;

 

Eksekusi cron :

# php -q /var/www/html/whmcsdata/crons/cron.php

Restart cron :

# systemctl restart crond

Cek cron di Automation Settings

Proses selesai, semoga berhasil.

 

Leave a Reply

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