salt.modules.at

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »

# salt.modules.at

Wrapper module for at(1)

Also, a 'tag' feature has been added to more easily tag jobs.

`salt.modules.at.` `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.` `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.` `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]

`salt.modules.at.` `atrm`(*args)

  Remove jobs from the queue.

  CLI Example:

      salt '*' at.atrm <jobid> <jobid> .. <jobid>
      salt '*' at.atrm all
      salt '*' at.atrm all [tag]

## Comments

comments powered by Disqus

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »