搜索结果

×

搜索结果将在这里显示。

任务管理(Linux-关机排程)

分 小時 日 月 頻率(2-6 周2到周6)每分钟执行一次,向指定文件追加当前时间和"Test Cronjob Success"内容

net rpc shutdown -I 192.168.*.* -U "domiant\username\%passwrd"  /tmp/cron_shutdown.log

添加時間戳

net rpc shutdown -I 192.168.*.* -U "domiant\username\%passwrd" | awk '{print strftime("%Y-%m-%d %H:%M:%S"),$0} /tmp/cron_shutdown.log
发布时间: