Tuesday 10 July 2007 7:09:02 am
Hi, I've just installed a csv import extension which works quite well, through an interface or the following command line: ./extension/csv/import.php [pattern] [filename]. Now i want to add import.php as a cronjob task. i added the following lines to cronjob.ini :
[CronjobSettings] ExtensionDirectories[]=csv
[CronjobPart-importagences] Scripts[]=import.php Obviously it doesn't work, as i don't know how to precise the two arguments ( [pattern] and [filename]) to the cronjob. i thought changing the import.php file to put directly into it the value of the arguments but i hope there is a better way to proceed...Have you got any idea ?
|