在Linux中1小时后运行命令 [英] Run command after 1 hour in Linux

查看:398
本文介绍了在Linux中1小时后运行命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只想在1小时后回显我的字符串.我看到了at命令,但是它可以在特定时间运行脚本(HH:MM).我希望我的echo命令在任何时间都可以运行1小时.

I just want to echo my string after 1 hour. I saw at command but it can run script at specific time (HH:MM). I want my echo command to run after 1 hour whatever the time it is.

推荐答案

它是sleep 60m && ls

这篇关于在Linux中1小时后运行命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆