This is the area where you drag the synchronisation files to be processed by the tool. Then in each of the tools you will indicate the name of the file concerned by the processing.
Site admin/Feeding and automation/Course and user synchronisation by CSV files
In versions prior to 2.7, files are implicitly managed in a 'sync' subdirectory in Moodledata.
File references in the tool configuration must mention this path: sync/users.csv
In later versions, file management is done directly in the Moodle file system. The sync subdirectory must no longer appear in the file call path.
The local file manager of the CSV synchronisation tool manages a permanent repository of command files that can be used for synchronisations or mass operations on Moodle. You can organise directories and subdirectories there, except for two “standard” directories automatically managed by the tool:
The different tools have a setting designed to point, in this directory, to “the” file to execute each time the cron task of this tool runs. It is thus possible to manage automation by updating the named file before the task runs.
Files can be brought from the “outside” into this directory. This case is provided for, for example, when an external ERP generates the command files and wants them executed from outside. Implementation is as follows:
<moodledata>/sync directoryThe scheduled tasks of the synchronisation tool will systematically bring back the files found there into the local file area of the synchronisation tool. (note that hidden files or files starting with '_' are ignored).
The files you generate in the Course control interface will appear in the local manager.
Back to the user guide index - Back to the component index - Back to the catalogue