]> git.proxmox.com Git - pmg-api.git/blobdiff - src/PMG/API2/PBS/Job.pm
api: pbs schedule: return next-run
[pmg-api.git] / src / PMG / API2 / PBS / Job.pm
index 91e0f818a2b206e06d8c0dbe2135e830241374c1..793ad88d1ecd2d9e9c3dc5d331eeeb28c9899c27 100644 (file)
@@ -500,6 +500,11 @@ __PACKAGE__->register_method ({
                type => 'string', pattern => '[0-9a-zA-Z. ]+',
                default => '5min', optional => 1,
            },
+           'next-run' => {
+               description => "The date time of the next run, in server locale.",
+               type => 'string',
+               optional => 1,
+           },
            unitfile => {
                description => "unit file for the systemd.timer unit",
                type => 'string', optional => 1,