我有一个程序接受2个提示(y/n)。例如: stopprogram do you want to stop the program (Y/N)? y
do you want to send an email to the admin about it (Y/N)? y
现在,我想的是用 '在' 命令实现自动化。在Solaris上但不在Linux上的以下工作RHEL: at now +5 mi
我尝试使用以下命令来执行命令: /usr/local/bin/php xxx.php | at now + 10 minutes
然而,终端引发此错误: cannot set egid: Operation not permitted error
我尝试将用户添加到/etc/at.allow,但这没有帮助。我也删除了/etc/at.deny,但那也没有帮助。任何想法是什么?我如何允许用户使