Created Cron Jobs (markdown)

iBNu Maksum 2022-12-14 15:50:36 +07:00
parent 46e254ff3c
commit 6c4672f97b

25
Cron-Jobs.md Normal file

@ -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