Hi All,
I've got a question for any linux gurus out there...
I've never been able to edit my crontab file using the standard crontab -e command.
What happens is that when I issue the crontab -e command the crontab file gets loaded into vim, but when I save and exit I get the following message in vim:
"/mnt/hd2/mod/var/spool/cron/crontabs.4569" 30L, 1032C written
E138: Can't write viminfo file /.viminfo!
then when I close vim, the crontab file doesn't get updated.
I'm guessing that it's trying to write a .viminfo file into the read-only part of the system but don't know how I can change the setting for this.
I've had this issue for a long time, but have always got around it by simply copying an updated crontab into /mod/var/spool/cron/crontabs/root directory
Then the crontab updates fine (and shown by doing a crontab -l command).
Any ideas on this? Would be nice to do it the proper way intead of uding the workaround...
I've got a question for any linux gurus out there...
I've never been able to edit my crontab file using the standard crontab -e command.
What happens is that when I issue the crontab -e command the crontab file gets loaded into vim, but when I save and exit I get the following message in vim:
"/mnt/hd2/mod/var/spool/cron/crontabs.4569" 30L, 1032C written
E138: Can't write viminfo file /.viminfo!
then when I close vim, the crontab file doesn't get updated.
I'm guessing that it's trying to write a .viminfo file into the read-only part of the system but don't know how I can change the setting for this.
I've had this issue for a long time, but have always got around it by simply copying an updated crontab into /mod/var/spool/cron/crontabs/root directory
Then the crontab updates fine (and shown by doing a crontab -l command).
Any ideas on this? Would be nice to do it the proper way intead of uding the workaround...
