Hi im having problems with running a php script using the crontab scheduled task tool. I have a script that works (i was using it on a previous lesser host) its pretty much unchanged since ive changed to host here. I think the problem is either that the crontab is using command line and hence im not doing something i need to or the path to the file is wrong. the file is currently located in a subdomain folder that plesk set up. If i dont need to use any extra comand line things and just put in the location of a .php file where is the root directory of the crontab tasks so i can direct it to the file.
Hi dukes I created my script as: #!/usr/bin/php -q <?php /* script to dump database */ ?> then specified the full hierarchic name in crontab, e.g. /var/www/hosts/domain.com/cgi-bin/dump.php Hope this helps Brian
What's the specific question? You should be able to specify the full hierarchic path to your script - do you need help to find out what it is? Cheers Brian