Avatar of mhmr
mhmr
Flag for United Arab Emirates asked on

Using php & Javascript (Ajax & jQuery) in Cronjobs

Hi Experts
I need to run php page using the cronjob on my hosting account
i always do that and is working very well using the command "php5"
but now i need to run a php page which contains some javascript and ajax/jQuery
i can run this page from my browser( Client Side ) and it output and do just what i want but in cronjob it is'nt.

any help will be appreciated.
Thanks.
PHPJavaScript

Avatar of undefined
Last Comment
mhmr

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dave Baldwin

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
mhmr

ASKER
ok any way to do this
i have an ssh connection in my hosting package  if this doing any good.
so if that possible using a unix command??

Thanks in advance
SOLUTION
leakim971

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
mhmr

ASKER
thanks all for the information provided,
i don't have enouph permession to install those programs.
so i'll try another way to run my script, may be i'll switch to php.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23