| | #1 |
| Forum Junkie ![]() | Cron Help I am setting up a forum demo thing for MidasHost;s Customers section. Not quite as expansive as AF's but I like giving it a shot. I am in need of a cron script I can run every XX hours to delete the database, and reload a specified one to reset the forums to default. All the forums are in one database, so I just need it to delete and remove one DB. Any help?
__________________ Ack, no currently active projects To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
| | |
| | #2 |
| Member Join Date: Jun 2006 Location: California, US
Posts: 108
![]() ![]() | You can put all the code in a php file (or whatever file extension you use) that deletes the tables/database and then runs the specified file that installs it. Then you can go into cPanel and (in the simple mode) just set the hours to whatever and leave everything else the same. Also remember to set the script I would go into more detail, but I'm not how sure how computer literate you are |
| | |
| | #3 |
| Forum Junkie ![]() | Well. I know how to use cPanel to setup the cron jobs. I just do not know how to write the script for a cron job.
__________________ Ack, no currently active projects To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is this cron job correct? | Cool_Guy | Off Topic | 3 | 04-14-2007 09:25 PM |
| PhpAdsNew Cron Maintenance Script | demojames | Software | 10 | 08-01-2006 06:39 PM |
| Is PF on a cron? | Jemrada | PostFusion Chat | 1 | 04-20-2006 11:22 PM |
