QAds
12 Ay Taksit
Samsung S5233 with 3 MP Camera, MP3 player
$93.99
Coby MP305-2G MP3 Player
$8.95
Apple iPad 16gb Wi-Fi 3G
$399.31
Nokia N97 3G, 5 MP Camera, A-GPS, 32 GB, MicroSD Slot
$258.61
:: HOME » APACHE » Cron Jobs
 
Cron Jobs

Cron Jobs are kind of scheduled transactions. To be able to use at first you need to create PHP file. This PHP file will do whatever you want to do. For example you can update database table or email customers newsletter. It is just simple PHP file as you know.


Then you need to define cron job to run this PHP file. To be able to define cron job, you need to go to your control panel of you WEBsite. You will see cron jobs in your control menu and when you try to create new one it will ask you which PHP file will you run and its location on the server. Then you will determine when you want run it.

 

That’s all you need to do to run a PHP file automatically.

 

For example, you want to send yourself daily report about current WEBsite visitors like how many users visited your WEBsite, which pages viewed most etc. You write a PHP page that queries related fields from your database and then send them  to your email address. Then, you define a cron job from your WEBsite control panel and define this PHP file and to send report to you at 7 AM in the morning.

 

So every 7 AM in the morning, cron job will run this PHP file automatically and send you daily report you want.


APACHE Cron Jobs APACHE Cron Jobs APACHE Cron Jobs
APACHE Cron Jobs
NEW QUESTION
 
Your E-Mail Address
»
Your e-mail will never be shown!  
   
 
Question
»
Please type your question and please use [CODE] tag for your codes!  
  Add CODE Quote BOLD ITALIC Underline Align Left Align Center Align Right Add Line  
   
 
Human Check
»
Enter human check code below!  
   
 
       
 
* Your Question will be answered as soon as possible, probably within 24 hours!
APACHE Cron Jobs APACHE Cron Jobs APACHE Cron Jobs
APACHE Cron Jobs
 
Website Designer, Search Engine Optimization Expert, Ajax Developer,Developed And Designed By Mumin Celik With Using PHP, MySQL, CSS, JavaScript, Ajax And Search Engine Optimizer Sinema ve Film Rehberi Sudoku Oyunu