一、错误:新增定时任务时无法保存 

crontab -e  执行后提示

E297: Write error in swap file
"/tmp/crontab.6eezMB" 0L, 0C
Press ENTER or type command to continue

<!-- 提示磁盘空间不足 -->

 

二、解决过程

1、查询磁盘使用情况  : df -h

Linux系统新增定时任务:E297: Write error in swap file

2、删除系统中无用的数据,如系统日志(/root/logs)等

Linux系统新增定时任务:E297: Write error in swap file

3、再次添加定时任务:crontab -e

 Linux系统新增定时任务:E297: Write error in swap file

相关文章:

  • 2021-05-06
  • 2021-10-23
  • 2021-06-09
  • 2021-07-05
  • 2021-06-04
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2021-05-26
  • 2021-10-09
相关资源
相似解决方案