GitHunt
CO

copyright-project/instagram-cron-jobs

Sync images backward and forward

Open Rights Cron Jobs Build Status

Sync images backward and forward

Sync backward

The job registers all previous images of a user starting from now up to the beginning.

The job runs once an hour and runs only once per user.

After the job is done, the user is marked as synced.

POST /triggers/sync/back/:userId

Triggers the manual sync backwards for a given user id.

Sync forward

When a user registered new media, we need to register it too. Therefore, we run a job that registers new images starting from last synced id.

Job runs once an hour.

POST /triggers/sync/forward/:userId

Triggers the manual sync forward for a given user id.

Languages

JavaScript97.2%Dockerfile1.8%Shell1.0%

Contributors

MIT License
Created August 18, 2019
Updated August 25, 2025