推 gtypist:在crontab 裡要加上執行者權限,例如root 05/31 19:19
→ tylerfirst:不好意思 請問具體上要怎麼做呢@@? 05/31 20:41
推 ashin0212:@@ 亂入… 跟SUID有關嗎? 05/31 21:17
推 gtypist:20 * * * * root /etc/rc.d/init.d/dyndn restart 我的 05/31 21:34
→ tylerfirst:感謝,再試看看 回樓上上 感謝提供關鍵字,我也查看看 05/31 21:57
推 ashin0212:我給了錯的keyword了 XD , 1F 2F 好像更接近答案 ^^" 06/01 09:48
推 iamyaha:先切換到root寫入crontab就會以root執行了 06/01 13:15
推 liangjr:純粹好奇, 為什麼不使用curl或wget而要自己寫? 06/03 04:14