corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Website Question - CRON


New Topic

New Poll
  <<  1    2  >> Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Website Question - CRON
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
27th May 04 at 14:42   View Garage View User's Profile U2U Member Reply With Quote

yes you can find out, download a SSH client such as PuTTy (google for it) then connect to www.ukflava.com on port 22, then it should ask for a username and password. enter the details and if it lets you in, WEEEE
ed
Member

Registered: 10th Sep 03
User status: Offline
27th May 04 at 14:47   View User's Profile U2U Member Reply With Quote

No shell access on my account...
MikeLamb
Member

Registered: 23rd Sep 03
Location: Crowthorne Drives: Veccy SRI
User status: Offline
27th May 04 at 14:50   View User's Profile U2U Member Reply With Quote

the correct term for this situation is "SHIT"

[Edited on 27-05-2004 by MikeLamb]
ed
Member

Registered: 10th Sep 03
User status: Offline
27th May 04 at 14:53   View User's Profile U2U Member Reply With Quote

Yes, just a bit... I wonder if I can set CRON up to just run the PHP script that needs to be run for the e-mails e.t.c... to be sent....
Laney
Member

Registered: 6th May 03
Location: Leeds
User status: Offline
27th May 04 at 14:58   View User's Profile U2U Member Reply With Quote

The hosting I use allows me to access and create Cron jobs on the Account Control Panel. If the hosting has something similar it might be worth having a play with it.

[Edited on 27-05-2004 by Laney]
ed
Member

Registered: 10th Sep 03
User status: Offline
27th May 04 at 15:01   View User's Profile U2U Member Reply With Quote

Yea, I made a cron job, I'm not sure if I did it right though, I just typed in the path of the file that I wanted to run, porbably wrong... And the set it to run every hour...
Laney
Member

Registered: 6th May 03
Location: Leeds
User status: Offline
27th May 04 at 15:05   View User's Profile U2U Member Reply With Quote

"/home/username/www/scripts/script.php"

Thats the format of the file right?


MikeLamb
Member

Registered: 23rd Sep 03
Location: Crowthorne Drives: Veccy SRI
User status: Offline
27th May 04 at 15:07   View User's Profile U2U Member Reply With Quote

oh yea, u wanna do "/home/username/www/scripts/script.php" rather than "http://www.ukflava.com/scripts/script.php"

[Edited on 27-05-2004 by MikeLamb]
ed
Member

Registered: 10th Sep 03
User status: Offline
27th May 04 at 15:09   View User's Profile U2U Member Reply With Quote

Ooh, done it right then coooool! SHould work, for now :-S
Laney
Member

Registered: 6th May 03
Location: Leeds
User status: Offline
27th May 04 at 15:10   View User's Profile U2U Member Reply With Quote

Theres a lot of info on the web about it mate - it seems pretty easy. I just had a quick read of this and it looks like the most probable fault would be the URL

you do understand i've never looked at this before or have ever used it

[Edited on 27-05-2004 by Laney]
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Online
27th May 04 at 17:37   View Garage View User's Profile U2U Member Reply With Quote

While you're testing, set the cron to do it every minute or so, you can modify the job later.

I suspect you just need to run that auctionupdate file every so often, don't worry about anthing bash or anything PHP.

We have a few going on on here for various things, its only like scheduling a program to run and take care of some housekeeping indepently of web requests, nothing too difficult.

  <<  1    2  >>
New Topic

New Poll

Corsa Sport » Message Board » Off Day » Website Question - CRON 23 database queries in 0.0114741 seconds