360 Secure SkillHub
360 安全技能中心

Sleep Tool

该 Skill 提供命令行工具 sleep-tool,按指定时长暂停脚本执行,支持秒、分、时、天后缀,默认单位为秒。适用于脚本计时、操作间隔等待与调度延迟等场景,不包含定时调度或任务管理能力。

分类:自动化
dinghaibin
dinghaibin
热度 24.64
最近更新 2026-05-11 17:47:18

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dinghaibin/sleep-tool
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
sleep-tool
description
Delay execution for a specified amount of time. Use for timing in scripts, waiting between operations, and scheduling delays.

Sleep - Execution Delay Utility

Pause script execution for a specified duration. Supports seconds, minutes, hours, and days for flexible timing control in automation scripts.

Usage

sleep-tool <duration>

Duration can be specified with suffixes: s (seconds), m (minutes), h (hours), d (days). Default is seconds if no suffix given.

Examples

sleep-tool 5
sleep-tool 30s
sleep-tool 2m
sleep-tool 1h