|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I want to know how to do programming of executing automated task every day in PHP.
For ex. every day there might be some visitors whose Registration gets expired so every day this script should run automatically & execute the code wihtout any human intervention. I know there is something like Cron Jobs but dont have much idea of the same w.r.t executing Cron jobs on Online Web Servers. I am working in PHP & mysql. Please suggest. Thanks in advance. Ani |
|
|||
|
Hi,
A cron job is basically a scheduled task run at an interval you set. Without knowing specifics of your hosting i can't really advise you further. Do you have a control panel for your hosting account? The actual job to be run can be anything you want ( that is executable ). It could be a php script / bash script / executable etc. Post some more details about your hosting and I can advise you further. Mike |
|
||||
|
You can set up a cron job using cpanel:
cPanel Tutorials - How to create/delete a cron job (standard mode) how to setup a cronjob using cpanel cron job cpanel - Google Search |
|
|||
|
Sounds like you do want to use cron. Here is a site that may help you get started (*note: be aware of all security implications, since you want to use php) Best of luck!
Introducing Cron [PHP & MySQL Tutorials] |
|
|||
|
Thanks for the responses.
My hosting has cpanel and i think i will set up a cron job using the cpanel. I have checked out the cpanel tutorial posted above. I think that should be of great help. thanks once again regds Ani |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Link building task.. | samuelwhalley | Search Engine Optimization Forum | 2 | 05-08-2008 03:03 AM |
| Google Sitemap Executing Problems | mess | Google Discussion Forum | 9 | 06-25-2005 06:02 PM |
| Gartner takes Microsoft to task | WPW_Feedbot | IT Discussion Forum | 0 | 02-18-2005 06:00 PM |
| Coursey: Is Google Forgetting Its Task? | WPW_Feedbot | Search Engine Optimization Forum | 0 | 12-15-2004 05:30 PM |
| Hosting with task scheduler (like Unix cron)? | uswebportal | IT Discussion Forum | 3 | 07-16-2004 12:02 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |