cron run php script
# -q is for quiet mode
php -q ${HOME}/public_html/script.php
# if needed by your script:
cd ${HOME}/public_html/; php -q script.php
# with a config file:
php -c ${HOME}/php.ini ${HOME}/public_html/script.php
Also in PHP:
- disable notice php in runtime
- base64decode php
- clear cache command in laravel
- clear catche laravel
- convert to string php
- date('Y ', $date);
- check if a key exists in php array
- $_SERVER php where link came from
- 1071 Specified key was too long;
- check in string match php
- Laravel Eloquent, group by month/year
- detect keyword of php string
- composer create-project laravel 6
- array_reverse in php
- array key exists php after submit
- create directory in php
- count on a string php
- convert byte to megabyte php
- clear artisan cache on server
- array merge in php
- clear laravel cache and clear vue
- Uncaught RuntimeException: Extension DOM is required
- current time in laravel migration
- catch in php