Best practice forum (Archived)

Totara Sync not executing

 
Alex Büchner
Totara Sync not executing
by Alex Büchner - Tuesday, 18 September 2012, 4:28 AM
 

We have created a csv file for positions and user sync for a customer. They have been uploaded to the server and the directory has been specified. When selecting "Upload sync file", the following message is displayed for both, positions and users:

NOTE: A pending sync file exists. Uploading another file now will overwrite the pending one.

The file can be selected manually and the import is working. What is not working is that this happens automatically. The cron is running properly, but no records do show up in the Totara Sync log (via report).

Any suggestions?

Simon Coggins
Re: Totara Sync not executing
by Simon Coggins - Tuesday, 18 September 2012, 3:19 PM
Group Totara

Until now the totara sync cron task wasn't included in the main cron - so you had to manually set up another cron job to call it.

We actually have a patch in review to fix that (so the main cron runs totara_sync too) which should be in the next release.

In the mean time you should be able to manually run it with:

php -f /path/to/code/admin/tool/totara_sync/run_cron.php

It's worth running it this way the first time anyway just so you see any errors in case it doesn't work.