diff --git a/Cron-Jobs.md b/Cron-Jobs.md new file mode 100644 index 0000000..aa59967 --- /dev/null +++ b/Cron-Jobs.md @@ -0,0 +1,25 @@ +Cronjob will execute expired customer, this is important + + + +Run + +```bash +crontab -e +``` + +this will run every 4 hours + +```bash +0 */4 * * * /usr/bin/php -f /path/to/phpmixbill/system/cron.php +``` + +if you create hourly voucher, maybe you need to run every 5 minutes + +```bash +*/5 * * * * /usr/bin/php -f /path/to/phpmixbill/system/cron.php +``` + +another example [crontab.guru](https://crontab.guru/examples.html) + +i dont know about windows, maybe using Scheduller, just search google \ No newline at end of file