mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-23 15:07:19 +08:00
update cron
parent
c3745aa1bf
commit
ffbb1538b2
1 changed files with 2 additions and 2 deletions
|
@ -11,13 +11,13 @@ crontab -e
|
||||||
this will run every 4 hours
|
this will run every 4 hours
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
0 */4 * * * /usr/bin/php -f /path/to/phpmixbill/system/cron.php
|
0 */4 * * * cd /path/to/phpnuxbill/system/ && php -f cron.php
|
||||||
```
|
```
|
||||||
|
|
||||||
if you create hourly voucher, maybe you need to run every 5 minutes
|
if you create hourly voucher, maybe you need to run every 5 minutes
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
*/5 * * * * /usr/bin/php -f /path/to/phpmixbill/system/cron.php
|
*/5 * * * * cd /path/to/phpnuxbill/system && php -f cron.php
|
||||||
```
|
```
|
||||||
|
|
||||||
another example [crontab.guru](https://crontab.guru/examples.html)
|
another example [crontab.guru](https://crontab.guru/examples.html)
|
||||||
|
|
Loading…
Reference in a new issue