Jump to content

timed running of php file?


Recommended Posts

[!--quoteo(post=354425:date=Mar 13 2006, 01:51 AM:name=naskoo)--][div class=\'quotetop\']QUOTE(naskoo @ Mar 13 2006, 01:51 AM) [snapback]354425[/snapback][/div][div class=\'quotemain\'][!--quotec--]
make it daemon in Linux or shedule task in windows ...

In some other places they are called 'cron jobs' if you have access to your webserver look for that section.
Link to comment
Share on other sites

Thanks for that.
I have just sent an email to 1&1 to see how I go about setting the cron jobs up.
In their FAQ it explains how to do it from a shell but it doesnt tell you how to connect to the shell.
Does anybody have any ideas as I know that 1&1 are particularly slow at responding.
If I need to do it from my system I am not using linux, I am using XP, does that matter?
Thanks again to all,
Link to comment
Share on other sites

I'm a 1 and 1 customer too.

You need to down load a program from your control pannel called. (Ive forgot)
But its what the recomemnd.

Down load that.

Run it from your desktop.
The settings you require should be on 1&1 for the connection.

Then you connect to your ssh
and you can then work out the comands to to time your script.

You make a script file which points to the file you want to do what ever.
and that's it.

I'm not at home now so i can send you settings etc or
point you in the right direction.

Message me your e-mail adress and i will get back to you later today.

My script automates a back up of my forums.

It did take me a while to get my head around cron jobs,
but after a while of practice.

I'm no expert but i should be able to help you get started with somthing simple.

My scriot if i remember right is CGI / Perl
as i wasnt sure if a Script file could be php or not.
But someone may answer that below.
Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.