Hi folks, I’ve just started to use SuiteCRM. I want to create a scheduled task to import data from csv. But first i tryed to do something easyer. I followed the guide, so i create the import_data.php
<?php
$job_strings[] = 'importData';
function importData(){
$fp = fopen("data.txt", "r+");
fwrite($fp, "ciao a tutti");
fclose($fp);
return true;
}
then i created en_us.import_data.php
<?php
$mod_strings['LBL_IMPORTDATA'] = 'Nice name to be displayed in admin';
So after that i go on my site, i made a repair and rebuild and i create the thask. I set the execution every 1 min. But when i go to check the status is: Last execution without error: never.
I whent in suitecrm.log but nothing shows. I checked the data.txt and it’s blank. I don’t get what i’m doing wrong. Any suggestiony?
Ty for all