Automatic Synchronization (cron)ΒΆ

To enable automatic synchronization, we will use cron.

To configure this, first, login as pontoon:

su pontoon

then edit the cron configuration using the following command:

crontab -e

You just have to call the debian/sync-projects.sh script at the desired interval. For example, you can add the following line to run the synchronization every hour:

0 * * * * /opt/pontoon/current/debian/sync-projects.sh

For more information, read the crontab documentation.

Once done, you can leave from the pontoon shell using the exit command.

Note

If you installed Pontoon in at a custom location or if your virtualenv is not named __env__, you will have to modify the debian/sync-project.sh script.