Tenho o crontab configurado no meu CentOS VPS e ele não está funcionando...
Aqui está o arquivo cron:
* * * * * php -f /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/1min.php
* * * * * php -f /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/1minemail.php
*/15 * * * * php -f /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/15min.php
*/30 * * * * php -f /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/30min.php
0 */1 * * * php -f /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/hourly.php
0 0 */1 * * php -f /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/daily.php
0 0 */7 * * php -f /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/weekly.php
0 0 */30 * * php -f /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/bimonthly.php
0 0 * * * php -f /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/clearreport.php
Eu também tentei outra variação disso:
* * * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/1min.php
* * * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/1minemail.php
*/15 * * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/15min.php
*/30 * * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/30min.php
0 */1 * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/hourly.php
0 0 */1 * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/daily.php
0 0 */7 * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/weekly.php
0 0 */30 * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/bimonthly.php
0 0 * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/clearreport.php
* * * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/1min.php
* * * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/1minemail.php
*/15 * * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/15min.php
*/30 * * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/30min.php
0 */1 * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/hourly.php
0 0 */1 * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/daily.php
0 0 */7 * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/weekly.php
0 0 */30 * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/bimonthly.php
0 0 * * * php -q /var/zpanel/hostdata/zadmin/public_html/pingrglobe_com/crons/clearreport.php
Consigo executar os arquivos no meu navegador, mas não no crontab.
Responder1
Certifique-se de que você crond
esteja em execução. Certifique-se também (e teste) de que ele iniciará corretamente na inicialização.