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
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

foreach help.
Hello all,

First time I'm attempting to use a foreach statement and was just wondering if my

User input in to variable
Hi all,

I'm sure this is very easy but I'm having another brain freeze!

At the end of

Stopped working!
So I had to change some stuff, none of it major. Stuff like the extension_dir and such. BEFORE I did

PHP & Java
Hello,

can PHP code be used inside java code?

Code: [Select]<SCRIPT LANGUAGE=&q

array_diff weirdness
I'm using the following bit of code

$diff = array_diff($pids, $pidlist);
$diff = array_va

Must be a string? Huh, what? HELP?
with the following script, I get
Fatal error: Property name must be a string in /home/content/e/

this code is strange !
Hi i got this code from the web.. It checks for live and dead socks
It is working perfectly on my

upload photo limits
ive got a upload photo script and im just trying to make more secure currently it limits size and as

email CODING Problem
Email coding problem.

I need to send a section of the info to $tf and the same as a Cc to $em

Bit manipulation program with binary operations
My homework is to create a program to scan in and add binary numbers and print them like so

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