This is a discussion on "Automatic Scheduling" within the PHP Forum section. This forum, and the thread "Automatic Scheduling are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Automatic Scheduling
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hey guys,
Just wondering how I would go about scheduling events in MySQL/PHP so that an event (say, every weekday or every wednesday) can be retrieved from a MySQL database without having to manually input every entry. Is there a schedule function, or anything? Many thanks. Jack |
|
|
|
||||
|
Re: Automatic Scheduling
Why would you have to manually input each event to retrieve an event?
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
|
||||
|
Re: Automatic Scheduling
To do this you would have to setup a cron job that will visit the page that executes the query.
There may be a better way to set this up though, what is the purpose of this?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: Automatic Scheduling
I see...
Well, I am trying to code a tournament site, where they can see what tournaments are being played. For this, I need to input the tournaments into the database, but some are recurring - and I really dont want to have to input manually every day/week etc. So, what would I do with teh MySQL database to know that the event is recurring every wednesday, for example? How would the cron job script work? |
|
||||
|
Re: Automatic Scheduling
Most hosts have a cron job option on their CP. Just have it run a PHP script that inserts the tournament.
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Needed ASAP - PHP/MySql Point-of-Sale/Scheduling system | Donny Bahama | Job Opportunities | 0 | Oct 5th, 2007 16:08 |
| Appointment Scheduling Software? | ugadawgvi | Starting Out | 6 | Jun 19th, 2007 22:09 |
| Automatic calculations | josephman1988 | JavaScript Forum | 7 | Dec 22nd, 2006 17:44 |
| Automatic Backups | Gee Bee | Databases | 9 | Jan 22nd, 2006 02:48 |
| Automatic Sending | accessman | Databases | 0 | Sep 25th, 2005 17:25 |