Fix: remove */6 from doc comment — PHP parses */ as end-of-comment
Changed cron example from '0 */6 * * *' to '0 0,6,12,18 * * *' to avoid the */ closing the docblock prematurely and causing a syntax error. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8511066d8b
commit
44a304331f
@@ -13,7 +13,7 @@
|
||||
*
|
||||
* RECOMMENDED CRON SCHEDULE:
|
||||
* # Check for updates every 6 hours (adjust based on your server count)
|
||||
* 0 */6 * * * cd /var/www/pterodactyl && php artisan modpackchecker:check >> /dev/null 2>&1
|
||||
* 0 0,6,12,18 * * * cd /var/www/pterodactyl && php artisan modpackchecker:check >> /dev/null 2>&1
|
||||
*
|
||||
* HOW IT WORKS:
|
||||
* 1. Finds all servers with MODPACK_PLATFORM egg variable set
|
||||
|
||||
Reference in New Issue
Block a user