# urbestack-cron-set

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-cron-set --user NAME --mailto ADDRESS|''
```

## Description

Sets where cron sends a customer's job output. Pass one email address to --mailto, or pass '' to restore the default of sending no job output by email. A job that runs every minute can fill a mailbox and use up the hourly sending limit.

UrbeStack replaces the first MAILTO line or adds one at the top if the crontab has none. Setting an email address requires the mail stack to be installed and enabled. UrbeStack refuses the change while the crontab is set aside.

## Same in the API

- [PATCH /users/{name}/cron](https://urbestack.com/docs/api/patch-users-name-cron.md): Set the email address for a customer's cron output

## Command family: cron

- [urbestack-cron-job-add](https://urbestack.com/docs/commands/urbestack-cron-job-add.md): Adds a job to a customer's crontab.
- [urbestack-cron-job-del](https://urbestack.com/docs/commands/urbestack-cron-job-del.md): Removes a job from a customer's crontab immediately.
- [urbestack-cron-job-set](https://urbestack.com/docs/commands/urbestack-cron-job-set.md): Updates a job in a customer's crontab.
- [urbestack-cron-list](https://urbestack.com/docs/commands/urbestack-cron-list.md): Lists a customer's cron jobs from crontab -u NAME -l.
