Edutizer Manuals  
Administrator's Handbook
Edutizer manuals | Administrator handbook | A2 Manage | Additional custom development | Creating user/training import watch

Creating user/training import watch

If you have configured User import or Trainings import, Edutizer automatically imports data every night. These imports can run into problems and fail. One way to keep an eye on these processes is daily check the automatic operations logs, another is create a custom watchdog.

This is easy. Edutizer stores import operation logs in C:\Edutizer\site\files\_system\logs subfolders training_export and user_import. For each time import operation is initiated, Edutizer creates a separate log file with datestamp as the filename.

The file contains at least two line:

2005-07-19 18:03   INFO    User Import started
2005-07-19 18:03   INFO    User Import finished

Between these two lines Edutizer reports import activity results and errors encountered.

So simples user/training import process watch dog should be this:

1. Find the latest file in corresponding folder.
2. Check if the last line of the file ends with <Operation> finished.
3. Check whether there are any lines that contain string ERROR. If not, everything was fine.
Search the handbook

More reading...

Latest articles
Answer not found here? Write us!
  EDUTIZER E-TRAINING ENVIRONMENT
A MINDWORKS PRODUCT

© MINDWORKS INDUSTRIES 2000-2010
powered by MAUI