what should i do in order to run the script automatecly once a day?
Set it up in cron...if you look at the existing script you should have to run moodle, you should be able to adapt it to point to the sync file.
thank you,
can you direct my to the exact place at the cron?