Why scheduled feed fetches and jobs matter in MISP
A MISP instance does not keep itself current. Feeds that have not been fetched, caches that have not been rebuilt and correlation that has not run against new attributes all drift quietly, so an analyst can search the platform and see a picture that is days or weeks old with no error on screen. MISP ships with default intelligence feeds, warning lists and galaxies and taxonomies, and it depends on background processing to keep them moving. Scheduling turns those periodic jobs into a predictable routine. The question for your team is which jobs must run on a clock and which can be triggered by hand when an investigation needs them.
The answer depends on your feed mix and sharing model. A small instance that consumes a few public feeds and publishes little may be well served by a short daily routine plus manual runs during investigations. An instance that pulls many feeds, synchronizes with a trusted community or feeds detection tools downstream usually cannot tolerate gaps, because stale data reaches every consumer of that data. Before you choose, list each feed, its update frequency as stated by its provider, whether it is pulled automatically or imported by hand, and which downstream systems depend on the result. Confirm the exact scheduled task names and options in the documentation for your MISP version, since they can change between releases.
Scheduling also changes who is responsible when data is wrong. A job that runs overnight and fails silently creates the same gap as no job at all, so the team that owns the instance must know how to check whether the last run completed and what it fetched. Decide who receives job failure alerts, who can run a fetch by hand during an incident and how often someone reviews job status. Those decisions belong in your operating runbook before the first cron entry is written. The rest of this page covers how to build the schedule, order the fetch and cache steps and read job status once it is running.
Built-in scheduled tasks or cron: which to use
The built-in scheduled tasks live in the MISP administration interface, so an administrator can review and adjust feed fetches, cache jobs and other recurring tasks without logging in to the server. This suits small teams that want a single place to manage schedules and that do not want to maintain separate operating system jobs. The schedule is stored with the instance, so it travels with the configuration an administrator can see in the web interface.
- Low setup effort: Tasks are configured in the web interface rather than written as separate server jobs.
- Visible schedule: Administrators can see which tasks are enabled and when they last ran from the same screen.
- Dependence on background workers: Scheduled work depends on MISP's worker processes being healthy, so a stopped worker stops the schedule too.
- Limited control over external timing: Coordinating runs with backups, patching windows or other server jobs takes more effort inside the interface.
- Failure visibility: Confirm how failed runs are reported in your version and whether alerts reach an operator.
Before relying on this option, check the scheduled task list and job status pages in the MISP version you run, because screen names and behavior can change between releases.
System cron on the host calls MISP console commands directly, such as the Cake command line tools shipped with the application. This gives platform teams full control over timing, user context, environment variables and ordering with other host jobs. It is common where the platform team already manages cron, systemd timers or configuration management for the server.
- Explicit run context: The job runs as a named system user, which makes permissions and log locations explicit.
- Ordering with host jobs: Fetch and cache steps can be sequenced with backups, log rotation and certificate tasks in the same scheduler.
- Configuration as code: Crontab entries can be stored in version control and deployed with the rest of the host configuration.
- Failure handling is yours to build: Cron does not retry or alert by default, so exit codes, output redirection and monitoring must be added deliberately.
- Path and version drift: Commands depend on the installation path and PHP binary, so confirm them after every upgrade.
Confirm the exact console command names and their options against the MISP version and installation method you run, since container and package installs can place the tooling in different locations.
Cron can also call MISP API endpoints over HTTPS using a dedicated automation key, which keeps the scheduler outside the MISP host and treats the job like any other API client. This model suits teams whose scheduler runs on a separate orchestration host, or who want every scheduled action to go through the same authentication and audit trail as other integrations. It requires a key with only the permissions the job needs.
- Separation from the server: The scheduler can run on a different host, provided network paths and certificates are in place.
- Authentication and audit: API requests are attributed to the key's user, so audit records show which automation made each call.
- Scoped access: Use a dedicated account with read or limited write rights for each job, not an administrator key.
- Response handling: Check HTTP status codes and response bodies in the script, because a request can succeed at transport level and still fail in MISP.
- Key lifecycle: Plan rotation and revocation for each automation key, and record which job owns it.
Confirm which endpoints trigger feed fetches and cache operations in your version, and whether a given action is available through the API at all before designing the schedule around it.
The decision usually turns on who owns the schedule, how changes must be reviewed, and what happens when a run fails at 3 a.m. A small team with one administrator may be well served by the built-in scheduler, while an organization with separate platform and security functions often needs the reviewable, auditable path of cron or API calls. The installation method also matters, because container, package and manual installs differ in where tooling and workers live.
- Team setup: Name an owner for schedules and a second person who can change them during an absence.
- Auditability: Decide whether schedule changes must appear in version control, change tickets or only in the application audit log.
- Failure detection: Choose how missed or failed runs are noticed, such as monitoring the job status pages, exit codes or API responses.
- Ordering and dependencies: Identify which fetch and cache steps must finish before others start, and whether one scheduler can enforce that.
- Mixed models: Some teams use the built-in scheduler for routine feeds and cron for steps that need host-level ordering.
Ask your MISP administrator and platform team to confirm the scheduler options available for your installation method and version before you write the runbook.
Scheduling options and when each fits
This table compares the four ways to run recurring MISP work: built-in scheduled tasks, cron calling console commands, cron calling API endpoints, and an external orchestrator. Read each row for where the option fits, the main risk, and what to confirm on your installed MISP 2.5 release before you commit to it.
| Option | Best fit | Main risk | What to confirm on your MISP 2.5 release |
|---|---|---|---|
| Built-in scheduled tasks | Feed pulls and routine cache work on a single instance with a small number of jobs | Limited visibility into failures unless someone watches the task status pages | Which scheduled tasks exist in your version, their default intervals, and how failures are reported |
| Cron calling console commands | Maintenance commands run directly on the host, such as feed fetch and cache regeneration | Commands run as a local account with broad rights, and cron output is easy to lose | The exact console command names and arguments, the web server user, and the log location for each job |
| Cron calling API endpoints | Triggering feed or job actions from a host that does not run MISP's console | A long-lived automation key sitting in crontab, and silent failures on expired keys | Which endpoints accept the trigger, whether the key can be scoped to that action, and its expiry behavior |
| External orchestrator | Multi-step pipelines that depend on other systems, such as fetch, then cache, then export to a sensor | Another system to secure, patch and monitor, and ordering errors if steps are split across tools | Whether the orchestrator can read job status before starting the next step, and how retries interact with running MISP jobs |
| Ordering fetch before cache work | Any setup where caches or exports must reflect the latest pulled data | Running cache steps against stale data if the fetch fails but the next step still runs | Whether your chosen mechanism reports job completion or only that the trigger was accepted |
| Shared job status checks | Confirming that a scheduled run finished before alerting or exporting | Treating a queued or accepted job as completed | Where job status is exposed in your release and which status values indicate success |
How to set up scheduled feed fetches step by step
This sequence takes a MISP instance from an unscheduled state to one where feed fetches, cache builds and maintenance jobs run on a defined schedule, with each run confirmed in logs and the job status view. It is written for the team that installs and operates the instance.
Confirm the MISP version and installation method
Record the MISP version, the operating system and how the instance was installed, whether through the official installer, Docker, Ansible, Puppet or RPM packages. Run the version check from the administration interface and note the result. Confirm the web service account name and the user that runs the background workers, because cron entries must run under the account that owns the MISP files and console. The step is done when the version, install method and both account names are written down in your change record.
Inventory the feeds and caches that need scheduling
List every feed you pull, including default feeds and any custom or partner feeds, and note for each whether it is pulled automatically, its source and the owner who reviews it. Add the caches and jobs that must stay current, such as feed caches, correlation work and any export or sync tasks your team relies on. Mark which items must run before others, for example a feed fetch that must finish before its cache is rebuilt. The step is done when you have a written list with a schedule owner for each item.
Check the built-in scheduled tasks
In the administration interface, open the scheduled tasks settings and review which built-in tasks are enabled, how often each runs and which ones overlap. Compare the list with the inventory from the previous step and decide which built-in tasks cover your needs and which require a cron entry. Record the current settings before you change anything so you can restore them. The step is done when every inventory item is mapped to either a built-in task or a planned cron job.
Configure the built-in tasks and fetch order
Enable the built-in tasks you decided to keep, set their intervals and avoid overlapping heavy jobs at the same time. Where a cache depends on a fetch, schedule the cache step later than the fetch, leaving enough room for the fetch to finish. Make the change in a test instance first when one exists, and document each interval as a configuration record. The step is done when the saved settings match the decision record and the test instance shows the same order of runs.
Add cron entries under the web service account
For jobs that the built-in tasks do not cover, write cron entries that call the MISP console commands or API endpoints. Run them under the web service account so file ownership and permissions match the running application, and keep each entry in a version-controlled file with a comment naming the owner. Use a separate API key with the narrowest permissions needed for any endpoint call, and do not place keys in shared scripts. The step is done when the crontab lists each job, its schedule and its owner, and a manual run of each command succeeds from the same account.
Verify each run in logs and the job status view
Wait for the first scheduled run of each job, then open the job status view and the MISP logs to confirm the run started, completed and recorded the expected number of items. Check the cron output file or system journal for errors such as permission failures, expired keys or timeouts. Compare the item counts with the source feed to confirm nothing was silently skipped. The step is done when every job shows a successful run with a timestamp inside its expected window and the log shows no errors for that run.
Record the schedule and prepare the rollback
Save the final built-in task settings, the crontab and the verification results in your operations runbook, with the job owner and the date of the last successful run. Write a rollback note that lists the previous built-in settings, how to disable each new cron entry by commenting it out, and how to re-run a missed fetch manually. Confirm that a person outside the setup team can follow the note. The step is done when the runbook includes the rollback steps and a reviewer has signed off on the schedule.
Run fetch, cache and correlation steps in a fixed order
The diagram starts with a scheduled trigger that launches a feed fetch. The cache rebuild runs only after a successful fetch, because correlation and export jobs read the cached data. A failed fetch goes to a retry step and then back to the fetch, so stale data does not pass downstream unnoticed. Correlation and export jobs follow the rebuild, and a job status check decides whether the run is complete or needs review. Validate this order against your own scheduler settings and the MISP version you run.
Recommended order of fetch, cache, correlation and export jobs.
Security risks of unattended MISP jobs
Scheduled MISP jobs run without an analyst watching them, so their credentials, accounts and inputs carry more risk than interactive use. The cards below cover the decisions that keep a cron-driven setup from becoming a quiet path into your intelligence store. Harden the instance itself using the MISP security hardening guidance alongside these checks.
Scoped API keys for cron calls
Every script or cron entry that calls the API should use its own key, not a key tied to an administrator's account. A key used by a feed fetch or a cache rebuild should carry only the role and sharing group that job needs. Check which keys exist, who created them, when they were last used, and whether any key is still valid after the job it served was retired.
MISP featuresLeast-privilege service accounts for console commands
Console commands run as the operating system user and, for many tasks, as the web server user, so file permissions matter as much as MISP roles. Run scheduled commands under a dedicated account that owns only the paths it writes to. Confirm that the account cannot edit MISP configuration or read other users' data it does not need.
Protecting credentials in crontab files
Crontab entries are often readable by other local users and appear in shell history or backups. Keep API keys and database credentials in a root-owned or restricted file that the job reads at runtime, and avoid putting secrets directly in command lines. Check the file mode of every job script and the permissions on the crontab itself.
Logging and alerting on failed runs
A feed fetch that fails silently leaves analysts working from stale indicators, and a job that succeeds with an error can hide a broken import. Capture exit codes and output for each scheduled task, forward them to your log platform, and alert when a feed has not updated within its expected window. Confirm who receives the alert and who acts on it.
Feed trust before automatic ingestion
An automatically fetched feed can add indicators to your instance without review, and some of those indicators can block legitimate traffic if they are published for detection. Decide which feeds may ingest automatically, which should only be pulled for review, and how their events are tagged and distributed. Check each feed's publisher, licence and update pattern before enabling it.
Change control for schedule edits
Schedule changes are easy to make on a live server and hard to trace afterward. Store crontab entries, job scripts and feed settings in version control, require a review for each change, and record who approved it. Compare the deployed schedule against the approved copy at regular intervals so unexpected edits are noticed.
How to check job status and catch silent failures
A scheduled MISP job that fails quietly is more dangerous than one that fails loudly, because feeds and caches look current right up until someone queries them. Verify every scheduled run with three checks: the job status in the MISP interface, the system logs for the scheduled command, and the data itself. In the interface, review the scheduled tasks page and the background job view to confirm each task ran, finished, and did not stop with an error. Then confirm the result in the data: the feed list shows when each feed was last fetched, and the cache age tells you whether exports and correlation inputs reflect recent fetches. Treat a task that reports success but leaves a feed with an old fetch time as a failure to investigate.
Cron itself will not tell you that MISP did nothing useful. A cron entry that calls a console command can exit cleanly while the command skipped work, for example because a feed was disabled, a worker was not running, or an API key lost permission. Read the system logs for each scheduled command after you add it and again after every MISP upgrade, since log locations and message formats can change between versions. Confirm the exact log paths, log levels and worker behavior for your installed release in the MISP documentation for that version and in your own test environment before you rely on them. Record which command each cron entry runs so that a log line can be matched to a schedule.
The safest control is external monitoring for missed runs, which does not depend on MISP reporting its own failures. Have the cron host or your monitoring stack record a heartbeat or check when each job completes, and alert when the expected signal does not arrive within the window you set for that job. Pair this with a freshness check against the feed fetch time and cache age, so that a stalled worker is caught even if cron keeps launching commands. Decide in advance who receives these alerts, how long a missed run may go before someone acts, and what the first recovery step is. Ask your MISP installer or partner to confirm which status endpoints and log outputs your version exposes before you build these checks.
Limits to confirm before you schedule
Scheduled fetches and cache jobs look simple until a task name changes, a job overlaps its previous run, or a feed quietly stops authenticating. The cards below list the items to verify against your own 2.5 installation before you write any cron entry.
Exact task names and syntax
Confirm the scheduled task names and the console command syntax for the specific 2.5 release you run, using the help output of your own installation rather than examples from older guides. Scheduled entries built from memory of an older release can call commands that were renamed or that take different arguments. Record the release you verified against so the schedule can be reviewed when you upgrade.
MISP downloadBehavior after upgrades
Check whether scheduled tasks, their settings and the cron entries survive a move between 2.5 releases, and whether any migration step changes how jobs run. The 2.5.47 release introduced a new database migration system, so a schedule that worked before an upgrade should be re-tested after it. Treat the first run after every upgrade as a verification step.
MISP releasesOverlap of long-running jobs
Find out how long your largest fetches, cache rebuilds and correlation jobs take on your data, and set the schedule so one run finishes before the next begins. Overlapping runs of the same pull can duplicate work, lock tables or produce partial caches. Ask whether the task scheduler prevents concurrent execution of the same task and add a lock or wrapper if it does not.
Worker capacity on the Redis stack
Confirm how many background workers your deployment runs, which queues they consume and how Redis is sized for the expected job volume. Fetches and cache jobs compete with user-facing work when worker pools are small, so a schedule that looks light on paper can back up the queue. Check queue depth and worker status after each scheduled window during the pilot.
PostgreSQL support for your deployment
Confirm the support status of PostgreSQL for the exact deployment method you chose, since the database backend determines which SQL-based maintenance and cache steps you can script. The project has added PostgreSQL support through its newer migration system, so verify it against the release notes and your installer before you assume your scripts or database checks apply. Do not mix database assumptions from a MySQL or MariaDB guide into a PostgreSQL schedule.
MISP releasesFeed authentication and manual steps
For each feed, confirm whether it requires an API key, a registration step, a license acceptance or a manual download before it can be fetched automatically. A feed that needs a human action will fail silently on a schedule, leaving caches stale without an obvious error. Keep a list of feeds that need credentials or manual steps and assign an owner to each one.
Questions buyers ask about scheduling MISP jobs
What does it cost to set up scheduled MISP feed fetches and jobs?
Cost comes mostly from the people time needed to design and verify the schedule, not from the scheduler itself, since MISP's built-in scheduled tasks and cron run on your own server. The main cost drivers are the number of feeds and pulls, how many sync partners depend on fresh data, whether jobs run on one host or several, and how much monitoring and alerting you want around them. Ask any partner for a written scope listing each feed, each scheduled job, the verification steps and the handover material, since that is what the quote follows from. Separate one-time work (design, build, testing) from recurring work (feed changes, MISP upgrades that alter job behavior, and periodic review of job status).
How long does a typical MISP scheduling setup take?
Duration depends on how many feeds and jobs exist, how well the current server is documented, and whether the schedule has to be coordinated with sync partners and a maintenance window. A small instance with a few feeds and a single host is far simpler than a production instance with dependencies between fetch, cache and correlation steps. Your own team or a partner should confirm the timeline against the written scope before work starts. No fixed duration applies to every environment, so treat any single number you see as something to check against your own feed list and job inventory.
What does our team need to provide before scheduling MISP jobs?
Plan to provide the following before any schedule is changed:
- A MISP administrator account with rights to view and edit scheduled tasks, plus shell access to the host for console commands and cron.
- Credentials and access for each feed or pull source, including any API keys and the terms that govern their use.
- A list of current scheduled tasks and cron entries, with the owner of each.
- A maintenance window agreed with the teams that depend on fresh intelligence and with any sync partners.
- A test or staging instance where job order and timing can be checked before production.
Confirm each item with your own change process, because access rules differ between organizations.
Can an internal team set up MISP scheduling without outside help?
Yes, a team with Linux administration experience and some familiarity with MISP can set up scheduled fetches and jobs in-house, as long as it reads the current MISP documentation for the installed version and tests changes outside production first. The work is mainly configuration, ordering and verification rather than new software development. The risks are stale caches, jobs that overlap or fail silently, and changes that break after a MISP upgrade. An internal team should decide in advance who owns job status checks and what happens when a fetch fails.
What goes wrong when MISP fetch and cache jobs are ordered incorrectly?
The most common failures are fetches that finish after a cache rebuild, so analysts and sync partners see stale indicators, and jobs that overlap, which can load the database and workers at the same time. Silent failures are also common when no one checks job status after a change. Ask whether the plan defines the order of fetch, cache and correlation steps, how each job reports success or failure, and how a failed job is retried or escalated. Verify the sequence on a test instance with realistic feed sizes before relying on it.
When should we hire an implementation partner for MISP job scheduling?
Consider a partner when the instance has many feeds, multiple dependent sync communities, a tight maintenance window, or no one on staff who can own scheduled jobs over time. A partner also helps when the schedule must be documented for audit or handover, or when it must be rebuilt during a MISP version change. DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. Ask any provider for a written scope and a retest plan before committing.
Do MISP scheduled jobs need to change after a version upgrade?
They can. The MISP 2.5 line is the recommended version for new deployments, and the project has shipped database migration changes within that line, so a job that worked before an upgrade should be retested after it. Check the release notes for the version you are moving to and confirm which console commands and API endpoints your jobs call still behave the same way. Keep a list of every scheduled task and cron entry so that an upgrade review covers all of them.
What licensing or support questions should we settle before automating MISP jobs?
MISP is licensed under the GNU AGPL version 3, and its taxonomies and galaxy data use separate licenses, so confirm that your use and any internal changes fit those terms with your legal team. Support options include the project's paid services and commercial third-party providers, and each will scope work differently. Ask for the support boundary in writing so you know who fixes a broken job at 2 a.m.
How DeployOpen schedules and supports MISP jobs
DeployOpen starts with a written inventory of every scheduled task the MISP instance will run: feed fetches, feed caching, pulls from sync partners, correlation and cache rebuilds, and any jobs built from console commands or API calls. For each entry the inventory records the owner, the target interval, the service account and API key used, the order it must follow relative to other steps, and the alert that fires when it fails or runs late. The scope also states which jobs use MISP's built-in scheduled tasks and which run as cron entries on the host, because the two are configured and monitored in different places. This document is agreed before any schedule is changed, so the client knows exactly what will run and who answers when it does not.
DeployOpen then implements the schedules inside the client's own infrastructure, using the MISP version and host layout the client has approved, and writes the runbook alongside them. Cron entries are kept in version-controlled configuration with comments that name the owner and purpose. Each job is verified with a manual run and a status check, including a deliberate check that a fetch which produced no new data still reports success, and that a failed fetch produces a visible error. Monitoring is handed over with the thresholds, the escalation path and the steps for a stuck or overlapping job. Confirm with your own team which monitoring tool will receive these alerts before the handover is scheduled.
DeployOpen also offers retainers for work that continues after handover. Typical ongoing items are reviewing the job inventory when feeds change, adjusting order and intervals after a MISP upgrade, testing that schedules still run after host or container changes, and retesting after a security advisory. Retainer scope, response expectations and frequency are set in writing, and the client should ask how each one is priced and what is excluded before signing. Scheduling work is fixed-scope, while a retainer covers the recurring checks that keep those schedules trustworthy over time.

