I have the problem that I cannot call cron.php with something like Wget. I have to use following call:
/usr/local/bin/php /home/deb14666/domains/qorc.nl/public_html/cron.php
With this call the domain isn't known. Therefore the specific domain modules and themes aren't known.
So when cron.php runs my theme is disabled in my website.
Comments
Comment #1
vm commentedYou may get better response to this in the forums where someone else may have had this problem.
Listing your environment may help as wel.
Local machine? if so; using what stack?
shared server? if so; what components? Have you spoken to the host about the issue. As they are in control of the way cron is set and run on their server.
Comment #2
vm commentedtitle change to better reflect problem.
Comment #3
vm commentedyet a better wording of title.
Comment #4
jork_zijlstra@hotmail.com commentedi did look at the forum but I didnt see a group for this type of posts.
Im running running Drupal 6.9 at a shared environment for the provider Antagonist.
The provider Antagonist doesn't give the admin the option to use Wget or Lynx. It isn't installed.
I have to use following call. In my opinion this is also the better way since there are no firewall issues involved.
/usr/local/bin/php /home/debxxxxxx/domains/www.example.com/public_html/cron.php
Themes are located in /sites/www.example.com/themes/theme1 and /sites/sub.example.com/themes/theme2
Because con.php is executed locally with /usr/local/bin/php there is no domain available. Therefore the domain specifics like themes and modules aren't seen during the cron run.
As a result of the cron run the themes aren't registered in the system table anymore and so the theme is unset in the website and all the cron methods in the modules aren't run.
Comment #5
ainigma32 commentedHave you tried this http://drupal.org/node/246091 ? Make sure you read all the comments too.
- Arie
Comment #6
ainigma32 commentedLooks like jork won't be posting any feedback so I'm setting this to fixed.
Feel free to reopen if you think that is wrong.
- Arie
Comment #8
jork_zijlstra@hotmail.com commentedI did not have time to develop for a while, so thats why I didn't post.
As said I created my own version of what is described in http://drupal.org/node/246091.
I'm looping threw an array whih contains the domain. And then call then with curl.