Hi Tony,
> I need to add a php script to the cron job.
>
> When I enter crontab -e to edit it, I get a list of ~
>
> How do I add a cron job?
I have an example here of a PHP script that is run every half an hour;
30 * * * * run-parts /etc/cleanup.sh >/dev/null 2>&1
59 * * * * run-parts /etc/cleanup.sh >/dev/null 2>&1
minute 30 and 59, /etc/cleanup.sh is run and it sends logdata to
/dev/null and I get no mail that the script was run.
/etc/cleanup looks like this:
#!/bin/sh
php /home/sites/www.blablabla.com/web/clean.php >/dev/null 2>&1
---
This worked just fine when I used it.
/Kristian