Hola, estoy intentando trabajar con Cron Jobs. Pero solo me da problemas, esto es lo único que consigo (el código de PhP que ejecuta está bien):
X-Powered-By: PHP/5.3.27
Content-type: text/html
<br />
<b>Warning</b>: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in <b>/home/lugher0/public_html/cronjobsvalda/proba.php</b> on line <b>7</b><br />
<br />
<b>Warning</b>: mysql_select_db() expects parameter 2 to be resource, boolean given in <b>/home/lugher0/public_html/cronjobsvalda/proba.php</b> on line <b>8</b><br />
<br />
<b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in <b>/home/lugher0/public_html/cronjobsvalda/proba.php</b> on line <b>12</b><br />
<br />
<b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in <b>/home/lugher0/public_html/cronjobsvalda/proba.php</b> on line <b>12</b><br />
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
El comando que puse en el cron es php [dirección]
Gracias