mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-23 23:17:05 +08:00
Created Cron Jobs (markdown)
parent
46e254ff3c
commit
6c4672f97b
1 changed files with 25 additions and 0 deletions
25
Cron-Jobs.md
Normal file
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
|
Loading…
Reference in a new issue