Skip to content

Cron Jobs

iBNu Maksum edited this page Jul 12, 2024 · 5 revisions

EXPIRED AND AUTO RENEWAL

Cronjob will execute expired customer, this is important

Run

crontab -e

this will run every 4 hours

0 */4 * * * cd /path/to/phpnuxbill/system/ && php -f cron.php

if you create hourly voucher, maybe you need to run every 5 minutes

*/5 * * * * cd /path/to/phpnuxbill/system && php -f cron.php

another example crontab.guru

i dont know about windows, maybe using Scheduller, just search google

REMINDER

This will send reminder for user every 7 AM

0 7 * * * cd /path/to/phpnuxbill/system && php -f cron_reminder.php
Clone this wiki locally