i just wrote a mysql stored procedure that would take data based on certain conditions from two tables and then inserts them on a third table. I m planning to schedule this procedure to run in one of the two situations: a) when a new entry is made in EITHER of the first two tables and update the third table, OR b) just schedule the proc to run every say 5 mins and update the third table.
I m not aware of how to do the option a). I was thinking about using cron to schedule in my linux based web host, but then at the very last moment realised that they dont allow cron jobs for the basic version that i am using.
this brought me to services like onlinecronjobs.com and similar others, but i did not understand how they will help me run this stored proc.
my question is, if i give such sites the link to the stored proc - example: www.mysite.com/cron/mySP.sql then can these sites automatically call this stored proc and have the stored proc insert data into the third table? Is my assumption correct - just need to give them the path to the stored proc, is it?
thanks!