Files
tldr/pages.zh/common/pueue-enqueue.md

29 lines
647 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# pueue 入队
> 入队暂存的任务。
> 参见:`pueue stash`。
> 更多信息:<https://github.com/Nukesor/pueue>。
- 一次性入队多个暂存任务:
`pueue enqueue {{task_id}} {{task_id}}`
- 在60秒后入队一个暂存任务
`pueue enqueue --delay {{60}} {{task_id}}`
- 在下周三入队一个暂存任务:
`pueue enqueue --delay {{wednesday}} {{task_id}}`
- 在四个月后入队一个暂存任务:
`pueue enqueue --delay "4 months" {{task_id}}`
- 在2021-02-19入队一个暂存任务
`pueue enqueue --delay {{2021-02-19}} {{task_id}}`
- 列出所有可用的日期/时间格式:
`pueue enqueue --help`