jmsconsult02
Verified User
- Joined
- Jan 20, 2008
- Messages
- 8
I have several jobs that use curl to run from several different domains using the same account.
I.e.
I have a user account called user1. user1 has 3 domains www.domain1.com, www.domain2.com and www.domain3.com.
In domain1.com i have a curl job (curl http://www.domain1.com/dosomething.php)
In domain2.com i have a curl job (curl http://www.domain2.com/dosomething.php)
Neither of those 2 jobs will run. I do the same exact curl comman in an account that has a single domain and it works. When I run the curl job from a browser it works.
I have the same problem running something like php /home/user1/domains/domain1.com/public_html/dosomething.php
I've tried manually putting the command into the root crontab and that doesn't work either.
In the cron logs it shows that it ran but it hasn't..
I've seen similar posts but no solutions.
Thank you for your help.
Jon
I.e.
I have a user account called user1. user1 has 3 domains www.domain1.com, www.domain2.com and www.domain3.com.
In domain1.com i have a curl job (curl http://www.domain1.com/dosomething.php)
In domain2.com i have a curl job (curl http://www.domain2.com/dosomething.php)
Neither of those 2 jobs will run. I do the same exact curl comman in an account that has a single domain and it works. When I run the curl job from a browser it works.
I have the same problem running something like php /home/user1/domains/domain1.com/public_html/dosomething.php
I've tried manually putting the command into the root crontab and that doesn't work either.
In the cron logs it shows that it ran but it hasn't..
I've seen similar posts but no solutions.
Thank you for your help.
Jon