1
konaafob
scheduling a php script
  • 2005/1/21 15:17

  • konaafob

  • Just popping in

  • Posts: 57

  • Since: 2005/1/10


Hi All,
I am not sure whether I can this question here or not. If I am posting in wrong place .. I am sorry..

I want to schedule a php script which can accessed while I was offline.

This script automatically updates data in my server. I don't have access to telnet to my server.

Thanks in advance.
--Kona

2
Mithrandir
Re: scheduling a php script

You may find some information in this FAQ on cron jobs

If not, it should get you a bit further and able to narrow down your problems - then we will be in a better position to help.

3
konaafob
Re: scheduling a php script
  • 2005/1/21 18:08

  • konaafob

  • Just popping in

  • Posts: 57

  • Since: 2005/1/10


Hi Mithrandir,
I know how to setup cron but I don't have access to telnet to my server. I hosted my website using other services from other hosting company. They don't allow cron.

Thanks,
--Kona

4
DonXoop
Re: scheduling a php script

If they don't allow cron then cron won't run.. XOOPS isn't an engine that runs without user browsing. Some hosters allow cron via cPanel or something.

However, an untested trick might be to create a custom block that calls your script. The script would need to check the clock to know if it should run and that it hasn't already run. The block might not need to output any info (invisible), just need to call your script.

BTW, any server still allowing telnet would be very surprising. Hard enough to get an SSH console these days.

5
christian
Re: scheduling a php script
  • 2005/1/21 20:23

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


You can use the free services of webcron.org but it's in french.

Best regards

6
jdseymour
Re: scheduling a php script

It's multilingual now.

7
konaafob
Re: scheduling a php script
  • 2005/1/22 0:23

  • konaafob

  • Just popping in

  • Posts: 57

  • Since: 2005/1/10


I don't see "English" .. do you see that ? can you send me that link.
Thanks,
-- Kona

8
jdseymour
Re: scheduling a php script

Just click on the english flag at the bottom of the page.

9
konaafob
Re: scheduling a php script
  • 2005/1/22 1:33

  • konaafob

  • Just popping in

  • Posts: 57

  • Since: 2005/1/10


Thanks a lot .. somehow I ignored flags.. and went to http://www.freetranslation.com to translate and set my webcron.
Thanks for all your help. your tip is very helpful to use it for my next cron setup.

once again thanks for all your help.


Re,
--Kona

10
konaafob
Re: scheduling a php script
  • 2005/1/22 1:33

  • konaafob

  • Just popping in

  • Posts: 57

  • Since: 2005/1/10


sorry its ssh not telnet...

Login

Who's Online

282 user(s) are online (234 user(s) are browsing Support Forums)


Members: 0


Guests: 282


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits