linux 定时任务无法执行sh文件

2025-03-23 20:43:02
推荐回答(1个)
回答1:

  1. 看日志文件/var/log/cron.log 貌似;

  2. 给权限,chmod +x /home/bea1/clear.sh  

  3. 重启crontab再跟踪下