只需一步,快速开始
DKer 发表于 2024-2-3 18:46 直接编辑 /var/spool/cron/crontabs 目录下的文件,保存后 systemctl restart cron 重启一下服务。 ...
举报
Telegramr 发表于 2024-2-3 18:53 真的没有 crontab -l no crontab for admin
aru 发表于 2024-2-3 19:04 no crontab for admin 这句话的意思是admin没有设置定时任务 不是说你的机器没有cron
Telegramr 发表于 2024-2-3 19:05 vi /etc/crontab 任务我是直接写进去的
aru 发表于 2024-2-3 19:07 cron 是分用户的 执行crontab -l 是显示当前用户的定时任务 /etc/crontab 是系统的定时任务,你执行cront ...
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2025-11-12 17:31 , Processed in 0.080986 second(s), 9 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.