What should IT use instead of scripts and cron jobs?
Published
It depends on what the script does. Jobs that configure servers, deploy code, or move data belong in Ansible, Terraform, or your CI/CD pipeline. Jobs that change people's accounts, groups, licenses, and access belong in an IT service management platform like Serval, where each one runs as a TypeScript workflow on a cron schedule, with approvals, a log of every run, and a version history you can roll back.
This guide is for enterprise IT and IT engineering teams that run PowerShell, Python, or bash on a schedule to keep accounts and access in order.
Why IT scripts turn into a problem
Most IT teams run more scripts than they can list. A PowerShell job disables stale Active Directory accounts every night. A Python script on a jump box pulls license counts into a spreadsheet. A bash cron job rotates a key nobody remembers setting up. Each one was a fast fix, and together they've become an automation layer with no owner.
The cracks show at scale. When an API token expires, the job fails quietly until an auditor or an employee notices. Service account passwords sit in a file on the server. A script that removes access runs the same way whether its input is right or wrong, and it leaves little record of what it did. Someone edits it in place, and the old version is gone. And none of it can take a request from an employee in Slack, get a manager's approval, and reply with the result.
Cron job alternatives for IT teams, compared
Start with what the job does.
Keep these for infrastructure and software delivery
These tools aren't IT service management platforms, and Serval isn't built to replace them:
- Configuration management and infrastructure as code (Ansible, Terraform, Puppet, Chef) for server and cloud configuration
- Runbook automation (Rundeck, PagerDuty Runbook Automation) for operations and incident runbooks
- Workflow orchestrators (Temporal, Apache Airflow, Prefect) for application workflows and data pipelines
- CI/CD pipelines for building, testing, and deploying software
- MDM for scripts that have to run on employee laptops
Options for IT request and account automation
The scripts worth moving are the ones that act on people and their access, plus recurring IT jobs that need an approval, a log, and an owner.
| Option | Gaps for IT request and account automation |
|---|---|
| Cron jobs and scripts on a server | No approvals, thin logs, secrets in files, single owner |
| Low-code automation from your identity provider or productivity suite (Okta Workflows, Microsoft Power Automate) | Not ITSM platforms: employee requests and tickets live in a separate help desk |
| AI-native ITSM platform (Serval) | Built for IT and employee requests; server configuration and app deployment stay in your infrastructure tools |
Serval integrates with Okta and Microsoft Entra ID and isn't designed to replace them. It can run as your ITSM platform outright, replacing incumbent tools, or sit alongside your existing help desk while it handles the requests that tool wasn't built to manage.
Unlike Okta Workflows or Power Automate, Serval is an ITSM platform, so the employee request, the approval, the workflow run, and the ticket stay in one place.
How Serval handles the jobs your scripts do today
You describe the job, and Catalyst writes the code
Catalyst, Serval's automation agent, drafts the workflow as TypeScript with a plain-language summary, and it'll draw a diagram if you ask. Admins refine it in chat. Engineers can edit the code directly or pull it into Git with the Serval CLI. There's more on the build process in how an AI IT workflow builder actually works.
Published workflows run deterministically, exactly as written. AI helps write the TypeScript, but a model only runs inside a published workflow if it includes a step that calls one, such as Serval’s built-in AI classification step.
It runs on a schedule, or when someone asks
Scheduled workflows take standard cron expressions, like 0 9 * * 1 for Mondays at 9 a.m., in the timezone you pick, and you can still run them by hand. Other workflows start from a webhook, a Serval event such as a ticket change, an approved access request, or an employee asking in Slack or Microsoft Teams. That last one is how IT automates help desk requests without writing a custom script for each.
Every change and every run is on record
Serval keeps every published version with who published it and when. Rolling back means restoring an earlier version and publishing it. You can also require approval before changes built in Catalyst go live. Each run logs what triggered it and each step's inputs, outputs, and errors, and run history can be exported for audits.
Approvals and secrets are built in
A run can wait for approval before it starts or pause partway through, with multi-step chains, group quorums, and backup approvers. Credentials are stored encrypted and injected when the call is made, so they never show up in workflow code.
It reaches systems behind your firewall
Any app with an HTTPS API can be connected as a custom application. For systems that aren't on the public internet, a hybrid worker runs inside your network, so workflows can reach on-prem Active Directory, self-hosted GitLab, and internal APIs and databases.
What it looks like in practice
Cribl's three-person IT engineering team had built its onboarding and offboarding automations itself. They were time-consuming to build, hard to maintain, and impossible to hand off to anyone without technical expertise. With Serval, the team described what it needed in plain language and Serval built it. Over six months, Cribl ran 54 workflows with more than 200,000 successful runs and saved over 7,000 hours.
At Abridge, Head of IT & Automation John Henry Boes put it simply: "You create the workflow and from that point on, it's deterministic. It's repeatable, executable code."
Automating Active Directory without PowerShell
If you run on-prem Active Directory, a lot of your scripts probably touch it: new accounts, group changes, password resets, and cleanup when people leave. Serval's Active Directory (on-prem) integration connects to your domain controllers over LDAP with TLS, usually from a hybrid worker, using a service account with only the rights you grant it.
Workflows can create, update, move, and delete entries, change group membership, reset passwords, and search users and groups. Once you turn on sync, Serval picks up user and group changes every 4 hours, so employees can request AD group membership through access requests with approvals, and Serval removes it when access expires or is revoked.
A good first job to move is the stale-account cleanup: "Every weekday at 7 a.m., find Active Directory users with no logon in the last 90 days, move them to the Disabled Users OU, and post the list to #it-ops."
How to move a script over
- 1.Find what's running. Check crontabs, Windows Task Scheduler, CI schedules, and shared script folders, and note what each job touches and who owns it.
- 2.Start with the riskiest jobs. Pick the ones that change access or accounts, run often, or have failed quietly before.
- 3.Rebuild one in Catalyst. Describe what the script does, or start from an installable workflow, and add approvals for anything destructive.
- 4.Run both for a cycle. Compare the workflow's output with the script's.
- 5.Retire the script. Disable the cron entry, remove its credentials from the server, and set up an alert for failed runs.
When to use Serval, and when to keep Ansible or Terraform
Use Serval when the job acts on people and their access, such as accounts, groups, licenses, onboarding, and offboarding, and needs an approval, a step-by-step run log, and an owner. Keep Ansible, Terraform, and CI/CD for server configuration and software delivery.
Frequently asked questions
What can replace cron jobs for IT automation?
It depends on the job. Server, infrastructure, and data jobs belong in tools like Ansible, Terraform, or your CI/CD system. Jobs that change accounts, groups, licenses, and access fit an ITSM platform like Serval, which adds approvals, run logs, versioning, and employee requests on top of a cron schedule.
Can Serval run workflows on a cron schedule?
Yes. Scheduled workflows take standard cron expressions or daily, weekly, and monthly presets, in the timezone you set.
Are AI-built workflows deterministic and auditable?
Yes. AI helps write the workflow, but the published version is TypeScript that runs exactly as written, and every run logs each step's inputs, outputs, and errors.
Do Serval workflows support versioning and rollback?
Yes. Every published version is recorded, and you can restore an earlier one and publish it again.
Can Serval automate on-prem Active Directory without PowerShell?
Yes. The Active Directory (on-prem) integration connects over LDAP, usually through a hybrid worker in your network, so workflows can manage accounts, groups, and passwords.
We make it easier to automate something forever than to manually resolve it once. If you want to see that with one of your own scripts, book a demo.


