Where do I put CRON code


Posted on 16th Feb 2014 07:03 pm by admin

So I've figured out alot about how to automatically run a php function. I can't figure out where to put the CRON code do I put it in the header between the head tags? do I put it before any html code? Am I right in assuming that All I have to do is --put it in the right place-- then upload it to the server. Also I have to put executable permissions on the delete_old_count.php
I have this set for 11:30 tonight. (as a test).

#!/usr/local/bin/php -q
Did you know?Explore Trending and Topic pages for more stories like this.
30 23 15 10 * auto_functions/delete_old_count.php
No comments posted yet

Your Answer:

Login to answer
168 Like 51 Dislike
Previous forums Next forums
Other forums

Hits this week counter
I have a counter on my site that tracks hits, IP's, etc. into a mySQL database. It also includes the

Extract specific information from a PHP Multidimensional Array
Howdy! I've racked my brain over this for 24 hours now. I think it's time I asked for help. I'm lear

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

Display a default image
I am trying to display generic image for items that don't have one, but I can't get it to display.

phpmailer class & pop.gmail.com?
Code: <?php
$mail->IsSMTP();
$mail->Host = "pop.gmail.com";

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

Regarding accessing SQL query issued by any user in Oracle 10g
Hi all,
i want to know the queries issued by various users accessing a database...

records between 2 dates
Hello all,

I have a date tracked table which contains effective_start_date and effective

jquery validation in codeIgniter
hai i need to add client side validation to my fiels which are selected in a forloop.the fields are

start new row of pictures
on my site www.budstreasureauctions.com there is a featured auctions box that users will pay to get

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash