I am trying to automate my site a little by implementing some repetitive taskes I do everyday into a cron job php script.
PHP MySQL Cron job help needed
12
I am trying to automate my site a little by implementing some
repetitive taskes I do everyday into a cron job php script.
I have several pieces of MySQL code that I use directly into
my database using phpmyadmin and so what I want to do is
create a php page, say cron.php, and then put all these individual
pieces of MySQL scripts in there.
So it would be something like.
DELETE these items
then
UPDATE these items
then
UPDATE these different items.
So what I would like to know is how to join up
these different items in php/MySQL.
I would also like to allow about 15 seconds in between each command to allow
the database to perform the task safely. S ohow do I space out each command by
15 seconds.
Any help much appreciated.
Terry
repetitive taskes I do everyday into a cron job php script.
I have several pieces of MySQL code that I use directly into
my database using phpmyadmin and so what I want to do is
create a php page, say cron.php, and then put all these individual
pieces of MySQL scripts in there.
So it would be something like.
DELETE these items
then
UPDATE these items
then
UPDATE these different items.
So what I would like to know is how to join up
these different items in php/MySQL.
I would also like to allow about 15 seconds in between each command to allow
the database to perform the task safely. S ohow do I space out each command by
15 seconds.
Any help much appreciated.
Terry
- KirkMcD
- [ 1 ] Thanks
- [1] reply
- terry1288
- [1] reply
- green2010 Banned
- [1] reply
- jon_martinez
- [ 1 ] Thanks
- [1] reply
- jon_martinez
Next Topics on Trending Feed
-
12