SYSBUILD4CRON(1)

NAME
sysbuild4cron - performs fully automatic builds of NetBSD from cron

SYNOPSIS
sysbuild4cron [-l logdir] [-r recipient] -- sysbuild_arguments

DESCRIPTION
sysbuild4cron is a wrapper over sysbuild(1) that allows plugging NetBSD builds into cron(8) with minimal effort.

sysbuild4cron executes sysbuild(1) with the given arguments after the ‘--’ marker, stores the output of the build in a log file and, if the exit code of the tool indicated an error, proceeds to send an error report to a given recipient.

Unless sysbuild4cron detects an error in the usage of this wrapper script, the tool does not print any output to the console and does not return any error codes. All errors are reported by means of email.

The following options are supported:

-l logdir
    Path to the directory that will keep the logs of all the calls to sysbuild(1).

    Default: ~/sysbuild/log.

-r recipient
    Email address of the recipient of the failure messages.

    Default: the current username, without a domain part.

SEE ALSO
crontab(1), sysbuild(1), crontab(5)

AUTHORS
The sysbuild4cron utility was developed by Julio Merino <jmmv@NetBSD.org>.