BrotherGump
04-13-2005, 07:29 AM
Help!!!!!!!
I have no idea how to set up a cron job. I have the code but do not know where to add it in mysql.
+++++++++++++++++++++++
If you need to edit the amount of winners credits then edit the clickcontest.cron.act.php file located in cronner.
You also need to htacess the cronner file to protect anyone from running it.
Use this code for setting up the cron job to run at midnight each day:
0 0 * * * wget -q http://user:pass@www.sitename.com/cronner/clickcontest.cron.act.php >/dev/null
Of course replace user with htaccess user name and pass with htaccess password
++++++++++++++++++++++++++++++
I have no idea how to use httacess so was going to delete that and rely on just the CHMOD value for protection?
This code is a good example of "talking over the head of newbies"!
Any help would be appreciated.
Thanks Mike Harmon
I have no idea how to set up a cron job. I have the code but do not know where to add it in mysql.
+++++++++++++++++++++++
If you need to edit the amount of winners credits then edit the clickcontest.cron.act.php file located in cronner.
You also need to htacess the cronner file to protect anyone from running it.
Use this code for setting up the cron job to run at midnight each day:
0 0 * * * wget -q http://user:pass@www.sitename.com/cronner/clickcontest.cron.act.php >/dev/null
Of course replace user with htaccess user name and pass with htaccess password
++++++++++++++++++++++++++++++
I have no idea how to use httacess so was going to delete that and rely on just the CHMOD value for protection?
This code is a good example of "talking over the head of newbies"!
Any help would be appreciated.
Thanks Mike Harmon