I think this is a more general Linux question rather than particularly SME specific, but feel free to move this if it is felt it would be better in a 7.x forum, as I will be using SME 7.3.
I have an bespoke application here that I need to get some data from, save it as a csv file, then sftp it to a customer. I have just migrated the database part of it to MySQL and that runs on my SME box. I would like to automate this process, and have installed the crontab contrib for this purpose. I have written the mySQL query, and validated it as producing the required data.
So, I would like to poll people on which technologies would be best to call from crontab, and any advantages / disadvantages. I guess I'm looking at either calling a php, perl or shell script. Other than familiarity with the languages involved (and I'm not brilliant at either, but confident I could work it out), are there any underlying reasons to choose, say, php over a shell script, or whatever?
All advice gratefully received.
