Para rodar um script php via cron, basta acessar seu painel de controle cPanel e clicar no link crontab. Defina o horário e insira a seguinte linha de comando:

php /home/user/www/script.php

Ha estat útil la resposta? 1 Els usuaris han Trobat Això Útil (9 Vots)