Hi, on one of our hosts they do not allow the editing of crontab.
When logged in with (almost full permissions)
The command /usr/bin/php /home/staylor/domain.co.uk/generator/runcrawl.php works and run's the crawl.
(note /usr/bin/php was changed to get it working)
So we can request the host to add a cron script to the crontab.
i.e.
a file called generatorscript
that contains
#!/bin/bash
/usr/bin/php /home/staylor/domain.co.uk/generator/runcrawl.php
/usr/bin/php /home/staylor/domain1.co.uk/generator/runcrawl.php
/usr/bin/php /home/staylor/domain2.co.uk/generator/runcrawl.php
But the host says the script is not setup properly. What do I need to change #!/bin/bash to?
or do I need to change /usr/bin/php to something else? /usr/local/bin/php didnt work when input directly into the command prompt.
Thanks,
Rob.