Crontab Plesk 8 : Comment éxecuter un script PHP
Saturday 2 February 2008Je ne vai pas refaire un tutorial complet sur les Crontab sous Plesk, vous en trouverez de très bons ici :
http://www.parallels.com/doc/tutorials/Plesk/Plesk8.0/eu/plesk8_eu_crontab.htm
http://www.interspire.com/content/articles/5/1/An-Introduction-to-Cron
La commande PHP qui devrait fonctionner avec toutes les version de Plesk (notamment la est :
wget http://www.votredomaine.fr/cron.php
Vous recevrez ensuite un email comme quoi le script a bien été executé :
-12:48:01- http://www.votredomaine.fr/cron.php
=> `cron.php’
Resolving www.votredomaine.fr… 91.121.22.207 Connecting to www.votredomaine.fr|91.121.22.207|:80… connected.
HTTP request sent, awaiting response… 200 OK
Exemple de configuration de Crontab sous Plesk 8 :