httpd 发表于 2025-1-6 23:28:32

CHEVERETO的cli.php和Corn在虛擬主機上怎麼設置?

<img id="aimg_PxzNW" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" width="558" height="95" src="https://i.imghippo.com/files/Kln8326uUw.png" border="0" alt="" /><br />
我看官方文檔實在看不明,爲啥還要sudo啥的,看第三方教學內容也都是將在擁有root的服務器內操作,我虛擬主機也操作不來,有大佬知道我該怎麼配置嗎?<br />
<br />
我的虛擬主機的任務配置有兩種方式<br />
<img id="aimg_o8LMD" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" width="600" height="281" src="https://i.imghippo.com/files/gdZN1914ERs.png" onmouseover="img_onmouseoverfunc(this)" onclick="zoom(this)" style="cursor:pointer" border="0" alt="" /><br />
<img id="aimg_d4Zj4" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" width="600" height="281" src="https://i.imghippo.com/files/mR6232Vj.png" onmouseover="img_onmouseoverfunc(this)" onclick="zoom(this)" style="cursor:pointer" border="0" alt="" />

httpd 发表于 2025-1-6 23:52:41

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16173845&ptid=1380720" target="_blank"><font color="#999999">NodeLoc 发表于 2025-1-6 23:46</font></a></font><br />
你这个元老花钱买来的么?</blockquote></div><br />
就是這麼一路問問題問上來的

httpd 发表于 2025-1-6 23:46:00

<i class="pstatus"> 本帖最后由 httpd 于 2025-1-6 23:40 编辑 </i><br />
<div class="quote"><blockquote>-C cron &gt;/dev/null 2&gt;&amp;1</blockquote></div><br />
請問,這是一整段參數嗎?還是是<div class="quote"><blockquote>-C cron</blockquote></div>和<div class="quote"><blockquote>&gt;/dev/null 2&gt;&amp;1</blockquote></div><br />
<img src="https://hostloc.com/static/image/smiley/yct/016.gif" smilieid="51" border="0" alt="" />

NodeLoc 发表于 2025-1-6 23:38:59

你这个元老花钱买来的么?

NodeLoc 发表于 2025-1-6 23:46:26

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16173858&ptid=1380720" target="_blank"><font color="#999999">httpd 发表于 2025-1-6 23:52</font></a></font><br />
就是這麼一路問問題問上來的</blockquote></div><br />
<br />
用 运行 php 脚本 ,把 chevereto 的那个cli的完全路径放进去。 后面带有参数放 -C cron &gt;/dev/null 2&gt;&amp;1<br />

httpd 发表于 2025-1-6 23:54:54

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16173864&ptid=1380720" target="_blank"><font color="#999999">NodeLoc 发表于 2025-1-6 23:54</font></a></font><br />
用 运行 php 脚本 ,把 chevereto 的那个cli的完全路径放进去。 后面带有参数放 -C cron &gt;/dev/null 2&gt;&amp;1 ...</blockquote></div><br />
好了,謝謝<br />
<img id="aimg_Us16T" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" width="600" height="339" src="https://gcdnb.pbrd.co/images/hcxlUeDsE2mB.png" onmouseover="img_onmouseoverfunc(this)" onclick="zoom(this)" style="cursor:pointer" border="0" alt="" />
页: [1]
查看完整版本: CHEVERETO的cli.php和Corn在虛擬主機上怎麼設置?