!
任务类型“Shell脚本”命令在appnode里怎么实现?
要实现下面的代码
脚本内容:
step=1
cd /www/wwwroot/testwe7/addons/hdkj_enterprise/
for (( i = 0; i < 60; i=(i+step) )); do
/www/server/php/72/bin/php cmd.php send_msg 9 5
sleep $step
done
添加的计划脚本里运行提示这个错误
/tmp/appnode_scriptmgr_131984804: line 3: : command not found
sleep: invalid time interval ‘ ’
Try 'sleep --help' for more information.
/tmp/appnode_scriptmgr_131984804: line 3: : command not found
sleep: invalid time interval ‘ ’
Try 'sleep --help' for more information.
/tmp/appnode_scriptmgr_131984804: line 3: : command not found
sleep: invalid time interval ‘ ’
Try 'sleep --help' for more information.
/tmp/appnode_scriptmgr_131984804: line 3: : command not found