Note Cargo

Background Indexing

To keep your notes synchronized and properly indexed, you need to set up automated background syncing. This ensures your notes are continuously processed and available for search.

⚠️ Important: We recommend running the background sync every 30 minutes. This provides a good balance between keeping your notes up-to-date and avoiding excessive API calls to your object storage.

The Key and URL

What is this?

The URL contain of secret API Key to make sure random people won't hit your server and spike your bill. The key can be changed by updating the SYNC_API_KEY value in the .env file.

http://localhost:8000/sync.php?key=your-sync-key

How to get the URL

You can get the full URL from the Setting page by clicking three dot button on right top.

Note Cargo Screenshot

Installation Methods

Linux/macOS (crontab)

Open your crontab editor, by run this command on terminal:

crontab -e

Add the new line:

*/30 * * * * curl https://example.com/sync.php?key=your-sync-key

Web Hosting Control Panel

Most hosting providers offer cron job management through their control panel. Look for "Cron Jobs" or "Scheduled Tasks" in your hosting dashboard and add the sync command with a 30-minute interval.