Why teams use Zammad scheduler jobs for time-based ticket work
Scheduler jobs handle work that depends on elapsed time rather than an agent action. Triggers react to events such as a ticket being created or updated, but nothing in a trigger fires because a ticket has simply sat in pending for two weeks. That gap is where most helpdesks accumulate stale tickets, customers who never get a follow-up, and personal data kept longer than policy allows. A team needs scheduler jobs when it has rules of the form "after this much time, under these conditions, do this", and when those rules must run whether or not anyone is logged in.
Typical cases are auto-closing pending tickets that customers have stopped answering, sending reminder emails before a waiting state expires, and deleting or archiving tickets once a retention period ends. Each case changes data at scale, so the decisions that matter are which object conditions select the records, how often the job runs and in which timezone its times are read, and how the team will notice if a job stops running. Retention deletions in particular need a sign-off from the data owner and legal or compliance before the job is switched on, because the deletion cannot be undone from inside Zammad.
This page covers the Zammad admin settings for scheduled work, not the platform installation, server sizing or the service that runs Zammad. Confirm in your own environment that the Zammad version you run includes the scheduler job options described here, and check the current behavior in the Zammad admin documentation before you write rules that delete data. Before building any job, write down the owner, the condition, the expected volume per run and the rollback plan, so the settings below can be tested against them.
Which scheduler job fits each time-based task
This table compares three common time-based tasks in Zammad: auto-closing stale pending tickets, reminder emails, and data retention deletions. Read each row for the object the job selects, the condition design it needs, and the damage a misfire can cause. The main takeaway is that anything touching many tickets over time belongs in a scheduler job, while reactions to a single ticket change usually belong in a trigger.
| Task | Object it selects and condition design | Risk if it misfires and trigger or scheduler fit |
|---|---|---|
| Auto-close stale pending tickets | Tickets in a pending state, filtered by state, pending time and any group or tag exclusions. Confirm the exact condition fields in your version. | A broad condition can close tickets that customers are still waiting on. Scheduler job fit: it runs on a timer across existing tickets, so a trigger alone cannot catch tickets that stop changing. |
| Reminder emails for tickets waiting on agents | Open tickets in a waiting-on-agent state, selected by group, owner and time since last update. Confirm the available time conditions in your version. | Repeated reminders can flood agents and mailboxes if the condition has no clear stop point. Scheduler job fit: time-based reminders need a schedule, while a trigger on the update event only reacts once. |
| Reminder emails for tickets waiting on customers | Open tickets in a pending-customer state with a set pending time, filtered by channel or customer if needed. | A misfire can email customers who already replied or send reminders on closed work. Scheduler job fit: a scheduler job suits timed follow-ups across all matching tickets. |
| Data retention deletions | Closed or archived tickets older than a retention period, selected by close date and state. Confirm whether deletion objects and time conditions are offered in your version. | Deletion is hard to reverse, so a wrong condition can destroy records needed for audits or disputes. Scheduler job fit: retention runs on a schedule, and a trigger should never delete tickets. |
| Batch changes to large ticket sets | Tickets matching a single condition, processed in runs with a documented per-run object limit. Confirm the current limit in your version. | If the job matches more tickets than one run handles, the remainder waits for the next run, so results look partial. Scheduler job fit: batch work belongs in a scheduler job, not a trigger. |
| Reactions to one ticket change | The ticket that just changed, matched on state, group, priority or article type. | Overlapping triggers can conflict and run in alphabetical order. Trigger fit: immediate reactions such as auto-replies or notifications belong here, not in a scheduler job. |
| Timed escalations on single tickets | Individual tickets crossing an escalation or time threshold, usually handled through time-based activators. | Escalation rules can notify the wrong people if thresholds are set without business hours. Trigger fit: confirm with your version whether a time-based trigger covers the case before adding a scheduler job. |
| Monitoring each job's last run | Job execution records, including the last run time and any errors. Confirm where the job status appears in your version. | A silent failure means stale tickets pile up or records are kept past policy. Check the last run after every change and set an alert or a periodic review. |
How execution time, timezone and object conditions decide what runs
A scheduler job runs whatever its object condition selects, so the condition is the control that matters most. In Zammad, a job is defined by when it fires, which timezone its run time is interpreted in, and the condition that picks the tickets or records it acts on. The schedule only decides when the job runs. The condition decides how much damage a wrong assumption can do. A condition written as "state is pending reminder" with no age, owner, group or tag filter can match far more tickets than the team expects, and an automatic close or delete action applied to that set cannot be undone from the job itself. Before enabling any closure or deletion, confirm the exact condition against a sample of real tickets in a staging copy, and check the match count the job reports rather than trusting the label you gave it.
Run time and timezone deserve the same care. Confirm which timezone your Zammad instance and the job use, because a job scheduled for early morning in one zone can run in the middle of a working day in another, and a reminder sent at the wrong hour is a customer-facing error. Agree the timezone with the team that owns the service level, and document it next to the job. Then test the schedule with a narrow condition that touches only a handful of records you created for the purpose, such as tickets tagged for testing in a non-production system. Watch that the job selects exactly those records, that it finishes, and that the run time matches your expectation. Only after that test should you widen the condition or move the job to production, and only after a retention or closure rule has been approved by the people who own the data.
Use a narrow test before every destructive change, and keep the test job in place as a reference. When a stale-ticket closure or a retention deletion is later adjusted, rerun the narrow test first so that a change to the condition is checked against known records. Ask your implementation partner or internal owner to show the condition, the timezone, the expected match count and the rollback plan in writing before go-live. Confirm with Zammad's documentation how each object type is selected in your version, because the available condition fields and their behavior can differ between releases.
How a scheduler run selects and acts on objects
A scheduler job starts when its configured time arrives in the timezone set for the instance. Zammad applies the job's object condition to find matching tickets, then runs the action (close, notify or delete) on up to the per-run object limit. The run's outcome is recorded as the last run, which is where administrators check it. Two points deserve a human check: the selection before any close or notify action, and the deletion step, which removes data permanently.
Path of one scheduler run from trigger time to recorded last run.
Reminders, auto-close and retention need different guardrails
Reminder jobs usually select tickets in a pending or waiting state whose last update is older than a set period, then send a notification to the assigned agent or a group mailbox. The condition is typically a state, a pending time and an owner or group match. A wrong run here is the least destructive outcome, but it is still costly: a missed reminder lets a customer wait without anyone noticing, and a duplicate reminder trains agents to ignore the mailbox.
- Narrow selection first: restrict the first run to one group or one test ticket set, and confirm the recipient addresses before widening the condition.
- Check the recipient path: confirm that the notification goes to a group mailbox or an agent who is still active, since reminders to departed staff are silently lost.
- Watch for duplicates: confirm that a ticket will not be reminded on every run once the condition is met, and check how the job records its last action.
- Approval: the support operations lead or service owner should approve the wording, timing and recipients.
Before enabling the job, check the scheduler's execution time and timezone against the team's working hours, and confirm the last run in the monitoring view.
Auto-close jobs move a pending ticket to a closed state after a customer has not replied for a defined period. The typical condition combines the pending state, a last-contact timestamp and sometimes a tag or article type that marks a reminder already sent. The main risk is that the customer is surprised by closure, especially when the reminder that preceded it never reached them or when the ticket still needs action.
- Narrow selection first: run against a small set of old, clearly stale tickets and review each one before closing more.
- Confirm the warning step: verify that a closure notice was sent and delivered before the close action, and that the notice explains how to reopen.
- Exclude open commitments: exclude tickets with escalations, SLA holds or tags for legal or security review.
- Approval: the service owner and a quality or compliance lead should sign off, since closure changes customer-facing outcomes and reporting.
A closed ticket can usually be reopened by the customer, but the reopen path, its effect on SLA and reporting, and the customer experience should be tested in a non-production instance first. Confirm these details against the Zammad documentation for your release.
Retention jobs delete or anonymize tickets, articles or attachments older than a policy period. They are the only one of the three situations where the action may be irreversible, so the condition must match the retention schedule approved by the data owner, not an ad hoc query. Errors can remove records that legal holds, audits or open disputes still need, and restoring them depends entirely on the backup you can recover.
- Test on a copy: run the condition against a restored, non-production copy of the database and count the affected objects before any production run.
- Use the object limit deliberately: the per-run limit of 2,000 objects means a large selection is processed across several runs, so confirm the expected count and the sequence it will follow.
- Confirm backups first: verify that a recent, restorable backup exists and that restore has been tested, since deletion is not undone by the application.
- Approval: the data protection officer or compliance owner, with the legal team for any hold, should approve the rule in writing before enabling it.
Record the approved condition, the test results and the backup reference together, and monitor the last run after each change so that an unexpected volume of deletions is noticed early.
Setting up a scheduler job step by step
This sequence takes a time-based rule from a business decision to a monitored scheduler job, so each job runs on the intended objects, at the intended time, and can be checked after every run.
Confirm the business rule and owner
Write down the rule in one sentence, for example what state a ticket must be in, how long it must have waited, and what the job should do to it. Name the person who owns the rule, usually a support lead or compliance contact, and record who approved any deletion. The step is done when the owner has signed off the exact condition and action in writing, and when someone has confirmed whether the action is reversible. If the action is a deletion, confirm the retention requirement with your compliance team before building anything.
Build the condition on a test system
Create the scheduler job on a test instance with a narrow selection, such as one group, one state and a single tag, so the object set stays small while you learn the behavior. Set the object type and conditions in the scheduler form, and avoid broad conditions until the narrow version works. The step is complete when the condition selects the tickets you expected and nothing else, which you can verify by comparing the matching tickets in the ticket overview with the list you wrote in step one.
Set the run time and confirm the timezone
Choose the execution time and check which timezone your instance uses for scheduled jobs, along with the timezone the administrator account and your reporting team expect. Confirm how the chosen time falls across daylight saving changes if your organization observes them. The step is done when a test run is scheduled for a time you chose deliberately, and when the team agrees on the local time that appears in the last run record. Ask the vendor or check the Zammad documentation for the current scheduler timing behavior before relying on it.
Simulate the run against a copy of data
Restore a recent copy of the database to a separate environment and run the job there, either manually or with the scheduled trigger, so you see the real volume and edge cases. Compare the list of affected objects with the expected list from step two, paying attention to tickets that were recently reopened, merged or updated by customers. The step is complete when the affected set matches the rule and any surprises have been fixed or written into the rule, with the reviewer's approval recorded.
Check the object count against the per-run limit
Before enabling the job on production, estimate how many objects match the condition on the full dataset. Scheduler runs process a bounded number of objects per run (the 2,000 objects per run limit documented for Zammad), so if your backlog is larger, plan for the job to take several runs to clear it and confirm that the remaining objects are picked up on later runs. The step is done when you know the backlog size, the expected number of runs, and whether the owner accepts that pace.
Enable the job and watch the first run
Enable the job in production during a period when an administrator can observe the result, and keep the change log entry with the owner's approval. Do not enable several new time-based jobs at once, because their combined effects are hard to separate. The step is complete when the first scheduled run has finished and the job's status shows a successful execution without errors in the logs.
Verify the last run and affected objects
Open the job's last run information and compare the timestamp, the number of processed objects and any errors with what you expected. Spot-check a sample of affected tickets, confirming the state, notification or deletion result and that no excluded ticket changed. The step is done when the spot check matches the rule, and when the team has added a recurring check, such as a weekly review of the last run, to its operations routine.
Monitor and review the job over time
Record the job in your operations runbook with its owner, purpose, condition, schedule and rollback approach, and review it when the business rule, the Zammad version or the volume of tickets changes. Also review it after each Zammad upgrade, because release notes may change scheduler behavior. The step is complete when the runbook entry exists, the owner has acknowledged it, and a review date is set in your ticketing or calendar system.
Protecting customer data when scheduled deletions run
Scheduled jobs act on many tickets at once and without an agent watching each change. The cards below cover the risks that matter most when a job can delete or notify at scale, and the control or evidence that keeps each one manageable.
Deletions that cannot be undone
A retention job that deletes tickets permanently leaves no in-product undo. Before activating any deletion job, confirm in a non-production copy that the conditions select only the intended records, and record the object count for that test. Keep the first production run narrow, for example one group or one closed state, and check the result against the expected count before widening the scope.
Zammad software requirementsConditions that drift after data changes
A condition written for today's data can match far more records after a new state, group or tag is introduced. Review each job's conditions whenever the ticket states, groups or customer categories change. Ask a second person to run the condition as a read-only overview or report before the job runs, and keep a dated note of what each condition was meant to match.
Admin edits without review
Any administrator who can change a job's conditions, timing or actions can also change what gets deleted or emailed. Limit job administration to a named small group, and require a second approver for changes to deletion or notification jobs. Confirm in your own environment which roles can edit scheduler jobs, and test that a standard agent role cannot.
Notifications reaching the wrong recipients
A reminder job that emails ticket details can expose content to the wrong recipient if the recipient field resolves to a shared or changed address. Keep reminder bodies to a ticket number and a link that requires login, and check the recipient rule against a sample ticket whose customer or group has recently changed. Review which mailbox sends these messages, since it determines the sender identity customers see.
Backups taken before each retention run
A deletion run that removes data without a recent, restorable copy leaves you with no recovery path. Schedule a verified database and attachment backup shortly before any retention job, and confirm a test restore includes the tickets the job will remove. Store the backup under the same retention rules, so the copy does not outlive the data it was meant to protect.
Change tracking for job edits
Without a record of who changed a job and when, you cannot prove that a deletion followed an approved rule. Export the job definitions on a set schedule and store them in version control or a change system. Keep the approval, the test result and the post-run object count together as evidence for each change.
Monitoring the last run to catch silent failures
A scheduler job that stops running rarely announces itself. Stale tickets stay open, reminders never go out and retention deletions quietly stop, so the first sign of trouble is often a customer complaint or an audit question. Treat the last run information of every scheduler job as a control you check on a fixed schedule. For each job, record when it last ran, whether it completed, and how many objects it touched. Then compare those values with what you expected. A job that normally closes a few dozen pending tickets a day and suddenly reports zero, or one that reports the 2,000 object maximum on every run, both deserve a closer look. Confirm the exact field names, status values and where run history is shown in the admin interface and documentation for the Zammad version you run, because these details change between releases.
Build a short internal review into your operating routine. Once a week, an named owner, usually someone from the helpdesk administration team, should open each scheduler job and note the last run time, the affected count and any error. Keep the review to a checklist so it takes minutes, and escalate any job whose last run is older than its configured interval or whose count moved sharply from the previous week. For data retention jobs, compare counts against what your retention policy predicts rather than against the previous week alone. Also record who created or changed each job, its conditions and its timing. Zammad's audit and admin logs should be checked to confirm which events are captured for scheduler changes in your version. Where the logs do not show the change, require a change ticket for every edit to a deletion job before it goes live.
Alerting covers the gap that a weekly review leaves open. A scheduler that stops entirely, for example because the background worker that runs jobs is down, will not show up in the job list as a failure, so monitor the Zammad background processes and the host through your existing monitoring stack and alert when they stop responding. Ask your administrators to confirm how Zammad exposes scheduler health to external monitoring in your version, and test the alert by stopping a non-production worker. Document who receives the alert, the expected response time and what the team does first, including whether a deletion job needs to be paused until its conditions are confirmed.
Limits to confirm before relying on scheduled jobs
Scheduled jobs look simple until a backlog, a clock change or a maintenance window meets a retention rule. The cards below list the limits to confirm in your own Zammad version and environment before you let a job close, remind or delete tickets on your behalf.
Objects processed per run
Each scheduler job run handles a capped number of objects, and the brief sets that cap at 2,000 objects per run. Confirm that this value and its behavior match your Zammad version, because a job that stops at the cap will simply continue on the next run. Check the scheduler job settings in the admin interface and test with a known set of pending tickets to see how many are changed in one run.
Zammad admin docsTime zone and daylight saving changes
Job execution times follow the time zone configured for the system, so a reminder set for 08:00 can shift relative to your local clock when daylight saving time begins or ends. Confirm which time zone the scheduler uses, whether it matches the time zone agents expect, and what happens on the transition days. Record the expected next run after each clock change in your test plan.
Clearing large backlogs
When a job first runs against years of stale pending tickets, the per-run cap means the backlog clears across several runs rather than in one pass. Estimate the number of runs from your ticket counts and the job frequency, then confirm the schedule with your operations team. Watch the first few runs closely so that customers do not receive a burst of reminder emails.
Behavior during maintenance and downtime
A job that is due while the application is stopped, upgraded or restarted runs late, not at the missed time. Confirm how your installation handles missed runs after a restart and whether any run is skipped or repeated. Plan maintenance windows so that deletion and auto-close jobs do not start during an upgrade, and review the last run status afterward.
Scope of deletions
Before relying on a retention job, confirm whether a deletion also removes attachments, article content stored outside the database, custom object records and related history. Ask Zammad which objects a retention rule covers in your version, then test on a copy of your data. Document any object that remains after the job runs so that your retention policy matches what the system actually deletes.
Monitoring the last run
A scheduler job can fail quietly, so confirm where Zammad shows the last run time, result and error for each job. Set an internal check that flags a job whose last run is older than its schedule. Keep the log output for each deletion job, since it is your evidence of what ran and when.
Questions buyers ask about scheduler job work
Does self-hosted Zammad have a license fee?
No. The Zammad pricing page states that self-hosted Zammad has no license fee. Zammad is licensed under the GNU Affero General Public License version 3, so the software itself costs nothing to download and run. Zammad sells self-hosted support subscriptions separately: Business at 2,999 EUR per year, Enterprise at 5,999 EUR per year and Corporation at 9,999 EUR per year. Those subscriptions buy vendor support with response times of 6 hours (Business), 4 hours (Enterprise) and 2 hours (Corporation). Scheduler job work sits outside that subscription, so you still pay for the people who design, build and test the jobs, whether they are your staff or a partner. Confirm with Zammad which tier, if any, fits your support needs before you budget.
How much effort do scheduler jobs take to build and test?
The effort depends on how many jobs you need, how complex their object conditions are, and how many systems and teams rely on their results. A single auto-close job for stale pending tickets is usually simple to write but still needs test runs against a copy of real ticket data. Reminder emails add template, recipient and timezone work. Data retention deletions carry the most effort because they need legal sign-off, careful condition testing and a documented restore plan. Ask any provider to break the estimate into design, build, test, rollout and handover, and to state which items assume your data samples and approvals are ready on time.
What do we need from our admins and data owners?
Expect to supply several inputs before any job is built. Your Zammad admins need to provide access to a non-production instance, a list of ticket states and groups the jobs will touch, and the current scheduler configuration. Data owners and business leads need to define what counts as stale, when reminders should fire and which ticket fields must be kept or deleted. Someone must also confirm the execution timezone that matches your operating hours. Agree in writing who approves job changes and who receives notice when a job fails, because a misconfigured deletion job can remove records that are hard to recover.
Can our internal team set up scheduler jobs alone?
Often yes, for simple jobs such as a reminder or an auto-close rule on a small set of states, provided at least one administrator is comfortable with Zammad's admin interface and has tested changes outside production. Internal teams struggle more with deletion jobs, large backlogs and multi-instance deployments, where the 2,000 objects per run limit, timezone handling and monitoring of the last run all need deliberate design. Assess your team on three points: whether someone can write and test object conditions, whether they can review the results with compliance, and whether they will keep the jobs working after a Zammad upgrade. A partner can close gaps in any of these areas under a fixed-scope agreement.
How are retention rules agreed with legal or compliance teams?
Retention rules should be written by the business and approved by legal or compliance before anyone configures a deletion job. Start with your records schedule, your contractual obligations to customers and any sector rules that apply to support data. Translate each rule into plain conditions, such as ticket state, closure age and organization, and list exceptions like open legal holds. Compliance then signs off on the rule text, the scope of data removed and how deletions are logged. Technical work can prepare evidence for that review, but it does not replace an auditor's or the compliance team's judgment on whether a rule meets your obligations.
What goes wrong when a scheduler job runs unexpectedly?
The most common problems are conditions that match more tickets than intended, jobs that run in the wrong timezone and backlogs that exceed the 2,000 objects per run limit, leaving some records unprocessed until the next run. A deletion or bulk close can also reach tickets that agents still need. Reduce the risk by testing each condition against a copy of the data, starting with a narrow scope, reviewing the first live runs and checking the last run status regularly. Have a rollback plan that includes a verified backup taken before any deletion job is enabled. Ask your provider to show how they test and document these checks.
Should we use a fixed-scope engagement or a retainer for job work?
A fixed-scope engagement suits a defined set of jobs, such as three reminder rules and one retention job, because scope, deliverables and timelines are agreed in writing before work starts. A retainer fits when your rules change often, when you expect regular Zammad upgrades to affect jobs, or when you want ongoing review of the last run status and retention outcomes. Whichever you choose, ask for a written list of jobs in scope, the test evidence each one will produce, the handover steps and the terms for changes after go-live. DeployOpen does not publish a price list, so a quote follows from the written scope.
Which Zammad hosting option changes the job work?
Self-hosted and hosted Zammad differ in who controls the scheduler and the data. On a self-hosted instance you manage the scheduler, backups and any deletion jobs yourself, inside your own infrastructure. Hosted Zammad plans are billed per agent per month: Starter at 7 EUR (annual billing, up to 5 agents), Professional at 16 EUR (up to 35 agents) and Plus at 25 EUR (unlimited agents), hosted in a data center in Germany. Confirm with Zammad which scheduler and job controls are exposed on the hosted plans before you plan retention work, because the answer determines who is responsible for deletion evidence.
How DeployOpen scopes and supports Zammad scheduler jobs
DeployOpen plans, builds, documents and supports Zammad scheduler jobs for reminders, auto-close and cleanup inside infrastructure you control. We start from the written retention and escalation rules your team already follows, then turn them into jobs that run predictably, can be monitored and can be handed over to your own administrators.
How we scope
- We list every time-based rule (stale pending closes, reminders, retention deletions) with its owner and approval record
- We confirm execution times, timezone and the object conditions each job will match before any build starts
- We agree in writing how backlogs above the 2,000 objects per run limit will be cleared over successive runs
How we build
- We configure each scheduler job in a staging instance using the agreed conditions and test it against copies of representative tickets
- We verify deletion jobs on non-production data first, including checks that linked attachments and articles are handled as intended
- We set up monitoring of the last run time and result so a missed or failing job is visible to administrators
How we hand over
- We deliver a runbook describing each job, its schedule, its conditions, its owner and the change process for editing it
- We walk your administrators through reading the last run status and restoring a job after a failed run
- We record the retention and auto-close decisions so auditors and data protection leads can trace them back to approved rules
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts
- Ongoing support, Zammad upgrades and continuous review of scheduler jobs are available as a retainer
- Jobs are re-tested after Zammad upgrades or changes to ticket states, groups or retention policy

