server - Execute php script with crontab doesn't work -


i'm trying execute php script every day send automatic email clients have contacted me. try if works i'm trying execute every minute. have followed these steps:

  1. whereis php prompts
php: /usr/bin/php /usr/share/php /usr/share/man/man1/php.1.gz 

2. make crontab -e , add line:

* * * * * /usr/bin/php /var/www2/www/centros-sbc.com/public_html/mail/mail_automatico.php &>> /dev/null 

wait minute , nothing happens. have idea?

every minute "* * * * *"

you've done "every hour @ 1 minute past"


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -