用cronjob stop apache2 service
所有跟帖:
• 每次开机后都会在4小时后 suspend 吗? -just4fun2007- ♂ (0 bytes) () 07/20/2015 postreply 16:18:03
• sleep 4h; sudo service apache2 stop -加州老李- ♂ (0 bytes) () 07/21/2015 postreply 11:19:46
• 或: sleep 4h; sudo pm-suspend。没试验过,估计可以。 -加州老李- ♂ (0 bytes) () 07/21/2015 postreply 11:37:25
• 谢谢两位!我会试试 -just4fun2007- ♂ (0 bytes) () 07/21/2015 postreply 11:39:35
• 上面是直接在SHELL里输入命令,不是用“crontab”。 -加州老李- ♂ (0 bytes) () 07/21/2015 postreply 11:45:49