Jump to content

CronJob Help with PHP please


craigtolputt

Recommended Posts

Hi Guys,

 

I have had some php scripting done which checks the database for new entries and if there are any it saves them off to a csv file and then zips them up and emails the zipped csv to an email address.

 

So this works fine but i need to create the whole lot again but making it check a different table in the database.

 

I can do this no probs i have just copied the files and changed the table where they check but my problem is with the hosting company im with they only allow 3 scheduled tasks but im already using all three so i cant add another scheduled task to tell the new checking script to run every hour.

 

 

So does anyone here know how i can make a php script that will tell both my checking scripts to run so that i can use that one in my scheduled tasks..

 

 

Feeeeew thats complicating for a designer i tell thee.

 

cheers

 

:)

Link to comment
https://forums.phpfreaks.com/topic/142817-cronjob-help-with-php-please/
Share on other sites

I will be cheeky

 

onlinecronjobs.com

 

but you could make a file and then run or cron jobs from that

 

so one cron in the cron panel running your php file 'cron.php 'which in turn has your php code for the crons in it  only thing it they will run at the same time which is ok if they both run every hour.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.