Wrapper for at(1) on Solaris-like systems
Note
we try to mirror the generic at module where possible
maintainer: | jorge schrauwen <sjorge@blackdot.be> |
---|---|
maturity: | new |
platform: | solaris,illumos,smartso |
New in version 2017.7.0.
salt.modules.at_solaris.
at
(*args, **kwargs)Add a job to the queue.
The 'timespec' follows the format documented in the at(1) manpage.
CLI Example:
salt '*' at.at <timespec> <cmd> [tag=<tag>] [runas=<user>]
salt '*' at.at 12:05am '/sbin/reboot' tag=reboot
salt '*' at.at '3:05am +3 days' 'bin/myscript' tag=nightly runas=jim
salt.modules.at_solaris.
atc
(jobid)Print the at(1) script that will run for the passed job id. This is mostly for debugging so the output will just be text.
CLI Example:
salt '*' at.atc <jobid>
salt.modules.at_solaris.
atq
(tag=None)List all queued and running jobs or only those with an optional 'tag'.
CLI Example:
salt '*' at.atq
salt '*' at.atq [tag]
salt '*' at.atq [job number]
Generated on February 25, 2019 at 06:53:47 MST.
You are viewing docs for the previous stable release, 2017.7.8. Switch to docs for the latest stable release, 2018.3.3, or to a recent doc build from the develop branch.
© 2019 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy