Nirbhay
03-15-2010, 10:44 AM
Hi All,
There is some problem occurring in calling the cron.
*/60 * * * * /usr/bin/lynx --dump "Path of the php script"
On finding the path I found that in the path /usr/bin lynx is not present. Can anyone tell what I shd do to make my cronjob run successfully.
Thanks in advance for any response ...
angst
03-15-2010, 02:01 PM
this isn't a php question.
if lynx doesn't exist, then install it,
sudo apt-get install lynx
masterofollies
03-15-2010, 03:03 PM
Put the cron before the public_html directory. Go into your control panel and direct the link to it.
Fou-Lu
03-15-2010, 03:37 PM
this isn't a php question.
if lynx doesn't exist, then install it,
sudo apt-get install lynx
Definitely not. Moving from PHP forum to apache configuration forum.
Don't look much like an Apache question either - try http://www.linuxquestions.org/questions/ instead
Nirbhay
03-17-2010, 06:04 AM
Thank u all for ur responses ..
I have one more problem in the crons. The problem is that after making the application accessed through https only the crons are now no more called. So can anyone tell that is there anything to be changed now incase https is used instead of http.
The way I was calling previously :
* * * * * /usr/bin/lynx --dump http://localhost/cron_test.php
Now I am trying with
* * * * * /usr/bin/lynx --dump https://localhost/cron_test.php
but still the script is not called :confused:.