Get your free beta license ↗
CMDCommand · run as root on the server · cron family

urbestack-cron-job-set

First published 3 Oct 20260.1.0Unchanged since publication

Usage

# urbestack-cron-job-set --user NAME --id ID [--schedule 'MIN HOUR DAY MONTH WEEKDAY'] [--command-stdin]

Description

From the command's --help output
Updates a job in a customer's crontab. Pass the job ID shown by urbestack-cron-list to --id and
give --schedule, --command-stdin, or both. The job keeps any value you omit.

Pass a cron keyword such as @daily to --schedule, or give five fields in order: minute, hour,
day of the month, month, and day of the week. The fields support *, numbers, ranges, lists, and
steps. A month or weekday can also be specified by its three-letter name on its own.

With --command-stdin, supply the new command as one line on standard input. Cron runs it as the
customer with /bin/sh. Cron treats % as a line break. Write \% for a literal percent sign.

If the job line was edited at the shell or in the web interface, it has a new ID and UrbeStack
refuses the old one. UrbeStack also refuses the update if the job was removed or the crontab is
set aside. If the crontab has no MAILTO line, UrbeStack adds MAILTO="" at the top to suppress
email from cron.

Options

Find other commands that accept these options

Same in the API

This operation runs the command.

More in cron

5 commands, by what they work onView all commands in this family →
urbestack-cron-
urbestack-cron-job-
Generated from release 0.2.35 (current) · urbestack-cron-job-set --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-cron-job-set/