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

insert PHP code into function
Hi,
I'm having problems when trying following:

I have:
Code: [Select]createBar("Do

Effort Estimation Template for Steady State Support
Hi Everyone,

Is there any SAP provided template/format for system change and enhancements

Reading Most Recent CSV File in Directory
I thought I had wrapped this project up, but found out that the program I use to FTP a csv file to m

how to get values from $_Post with onchange="form.submit();"?
Hi, I have a form that submit to itself with a file upload field and two other hidden field values.<

Xacute search within SQL results
I have a query that is pulling data, and I want to return a specific value from the results of that

Place specific image in html page when specific name is typed.
Hello,

Fairly new to PHP and was curious if someone might know how to solve a fairly simple r

Change log of Cost centre change in Plant maintenance order
Hi,
How to view Change log of Cost centre in Plant maintenance order. Not visible thru 'Docume

array_combine() error
getting an "Warning: array_combine() [function.array-combine]: Both parameters should have an e

am I using this for loop correctly
Dear buddies!

Right now I am generating a report with some details for all the dealers.

Matchcode in ALV change header column
Hello everyone,

I am working in an SAP system that is currently in upgrade and conversion

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