cheap accutane without prescription ultracet tabs generic diflucan buy celexa ephedra super caps finasteride india ephedra sale percocet 10 650 mg ephedra online ephedra 25mg percocet 30 mg cheap effexor klonopin price percocet 10-325 finasteride tablets celebrex no prescription amoxycillin generic lamisil drug norco pills accutane from india buy percocet legally amoxycillin capsules acomplia pills finasteride medicine percocet prescription oxycodone cost norvasc 50 how to get accutane without prescription finasteride 90 picture of diflucan generic lamisil now percocet purchase cheap accutane lamisil tablets online ultracet er ephedra fat loss accutane acne treatment percocet 325 lexapro 2.5 mg acomplia cost oxycodone no prescription accutane medication drug effexor xr finasteride in australia lamisil australia fioricet pharmacy cheap effexor xr percocet 7.5 testosterone 250 lamisil discount percocet 5 25 generic klonopin generic nexium testosterone enanthate buy accutane without prescription percocet 2.5 325 lexapro mg lamisil vs generic generic form of lamisil discount rimonabant diflucan medicine nexium 400 mg generic tenuate drug rimonabant cheap ephedra rimonabant usa percocet generic effexor rx percocet pain medication accutane uk rimonabant diet pill effexor online buy prozac norvasc 500 lexapro cost norvasc tablets ephedra cost diflucan generic name celexa pharmacy buy acomplia purchase prozac norvasc canada accutane tablets lexapro 10mg 10mg lexapro testosterone gel price percocet 749 prozac price percocet 3 325 mg prozac 2008 lexapro 15 mg percocet 0636 cost of rimonabant amoxycillin medicine klonopin sale percocet street prices effexor xr prices rimonabant in canada prozac drug buy percocet online without a prescription prescription for lamisil buy testosterone cream fioricet price effexor 150mg lexapro 40 mg percocet 500 amoxycillin 250 mg norco pharmacy percocet with no prescription nexium 80 mg percocet generic name lexapro generic name buy norvasc online norco tablets diflucan usa lamisil alternative lexapro 20 nexium 4 mg norvasc price prozac pill prozac 30 lamisil tablets cost percocet 7.5mg purchase lexapro order fioricet fioricet order nexium 40 mg daily norco online name norvasc tenuate prescription generic accutane prices fioricet cost accutane 10 mg butalbital pharmacy lamisil for sale norvasc 15 cost of lamisil tablets lexapro street value cheap tamiflu otc testosterone tamiflu swin flu celebrex cost ephedra diet pills ultracet 37.5 325 mg accutane from mexico lamisil 1 percocet generics finasteride for sale lamisil cost percocet 15 testosterone cypionate prices norvasc 30 lexapro uk tamiflu 75mg generic effexor xr lamisil 80 mg cheap finasteride order percocet online prozac overnight buy fioricet generic lamisil pills 0636 percocet percocet 7.5 500 5mg lexapro percocet 325 mg norvasc medicine effexor xr capsule accutane price 40 mg ultracet 650 testosterone 200 mg effexor xr 75 order finasteride diflucan pills generic for diflucan percocet 54 543 generic finasteride testosterone 2 cream generic accutane cost ephedra products prozac online norvasc 5mg side prozac uk diflucan drug online tenuate prozac 80 mg lexapro 20 mg buy prozac online cheap norvasc norvasc 7 buy diflucan online percocet 40 mg amoxycillin dp 500mg buy klonopin percocet for sale purchase percocet online buy percocets norco price norvasc picture buy percocet from mexico percocet prescriptions buy percocet online buy rimonabant pill medication for norvasc finasteride 10 buy testosterone suspension buy testosterone gel online butalbital no prescription percocet generic names lamisil tablets dosage percocet sale percocet 932 lamisil 250 mg percocet 5mg lamisil uk percocet order online acomplia tablets finasteride mastercard prozac 5mg rimonabant 2007 buy testosterone cypionate fioricet no prescription celebrex sale lexapro 60 mg generic percocets purchase diflucan effexor canada oxycodone pharmacy lexapro online lamisil purchase celexa cost discount diflucan acomplia sale oxycodone pills klonopin pills celexa pills testosterone 300 512 percocet diflucan 200 buy percocet online no prescription lamisil sale tamiflu price tamiflu sale generic percocet pictures percocet 10mg generic oxycodone accutane 20 mg finasteride 5 mg percocet street name generic celexa fioricet without prescription lamisil 30 ephedra 25 mg effexor xr online buy lexapro online butalbital tablets tenuate 25mg percocet cheap buy rimonabant online cheap fioricet testosterone prices testosterone cream 2 prozac sales percocet prescribing information norvasc 4 lexapro free samples cost of effexor buy celebrex prozac picture buy effexor online buy tenuate ultracet no prescription rimonabant cheap percocet price butalbital cod lamisil india prozac 10 finasteride 10 mg free testosterone tamiflu purchase rimonabant online prozac without prescription lamisil 1x buy diflucan percocet 10 225 dds7i norvasc tamiflu cost cheap celebrex percocet 500 mg prozac 50 mg percocet no rx alternative to diflucan generic butalbital prozac order amoxycillin 250mg tamiflu tablets buy percocet online without prescription rimonabant sale nexium purchase ephedra fat burners rimonabant price effexorxr

How to setup Basic Cron Jobs?


Basically you will want to run a PHP script file in specific intervals. Suppose you want to execute a php file called maintanence.php every one hour. This is what you do :-

The CRON Command is in the Following Format

CODE

[ Minute - Hour - Day - Month - Weekday ] - Command

The COMMAND, can be broken down in

CODE

[PATH OF PHP] [ARGUMENTS] [PATH OF PHP SCRIPT]

So the COMPLETE CRON command can be written as

CODE

[ Minute - Hour - Day - Month - Weekday ] [PATH OF PHP] [ARGUMENTS] [PATH OF PHP SCRIPT]

The timing is spedified using * symbols

CODE


* * * * * => Execute every minute
0 * * * * => Execute every Hour
0 0 * * * => Execute every mid-night
0 0 0 * * => Execute every Month
0 0 0 0 * => Execute every Weekday

If you did not understand anything till now.. Good, this means you are a noob.. Read ahead tongue.gif

Since this is a UNIX command, You will have to Mention the PATH of PHP. At Astahost,

CODE

PATH TO PHP : /usr/local/bin/php


( it also same at trap17, if users over there want to use it )

These are the Possible Command line Arguments you can use. This will effect the output. In our case, we will use the -q ( Quiet mode ) argument.

CODE


-a Run interactively
-b <address:port>|<port> Bind Path for external FASTCGI Server mode
-C Do not chdir to the script's directory
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse <file>. Implies `-q'
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.

The Path of the PHP file Must be Complete absolute path.
If you have an Account at TRAP, And your USERNAME is "tom", Your path will be
"/home/tom/public_html/"

I assume you are familier with the PUBLIC_HTML directory. That is the Root folder where you store your html files.

So lets say that Tom wants to execute my script "maintenance.php" every hour. And it is stored in "public_html/cron/maintenance.php";

So the Complete CRON command would be,

CODE

0 * * * * /usr/local/bin/php -q /home/tom/public_html/cron/maintenance.php

If tom wants to execute it every minute, he would use.

CODE

* * * * * /usr/local/bin/php -q /home/tom/public_html/cron/maintenance.php

If tom wants to execute it every Month, he would use.

CODE

0 0 0 * * /usr/local/bin/php -q /home/tom/public_html/cron/maintenance.php

There are more Complex forms of Assigning the TIMINGS for these scripts. You can go to CPANEL => Cron Jobs => Standard and set exact time when the script will be executed.

Reference: http://www.trap17.com/index.php/cron-jobs-cron-jobs-cpanel_t6321.html



No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

viagra patent expire Viagra Sale viagra anxiety