--- title: "Scheduled input agents (cron)" slug: "profiles--entry-tab-2-cron" status: "update" updated: 2026-09-22T11:52:06Z published: 2026-09-22T11:52:20Z canonical: "docs.lobstersoftware.com/profiles--entry-tab-2-cron" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Scheduled input agents (cron) Scheduled input agents fetch data from a data source at a user-defined time. You specify the time in classic cron syntax or in a simplified form. You can also trigger (see [Times/Execution](/v1/docs/en/profiles--entry-tab-2-times)**)** the input agent via HTTP or message. > [!NOTE] > **NOTE:** > > - The Control Center (see [Cron jobs](/v1/docs/en/cc-jobs-cron)) shows the last and the next scheduled start time of a profile. > - You can create directory names dynamically with a date in all data sources. For example, on August 23, 2023, the system replaces the directory name `C:/tmp/<yyyyMMdd>` with `C:/tmp/20230823`. > - The [System variables](/v1/docs/en/intro-concepts-system-variables) `VAR_SYS_TRIGGER_CHANNEL_ID` (or `MSG_CALL_VAR_SYS_TRIGGER_CHANNEL_ID`) replace the channel in the scheduled input agent. This works with every data source. As the value of the variable, specify the ID of the new channel. > - A job might not end normally after a forced stop or a power failure. In that case, the system marks the job as a "crashed job." It restarts the job at the next server start. The restart begins from the start, not from the point of interruption. This requires `trackCrashedJobs = true` in `startup.xml`. > > Node Controller/Load balancing: By default, cron jobs always run on the Node Controller, not on clients. You can assign a specific node per profile. ## Creating internal cron jobs with a function See the function `createScheduleEntry()`. ## Cron job for deleting old files See [Deleting files with an internal cron job](/v1/docs/en/delete-files-cron-job).