You are not logged in.
Pages: 1
I tried with sudo, tried without, but whatever I do, the changes are never saved.
Naturally, I am using nano or geany to edit it, but it shouldn't make any difference, right?
Offline
How do you check that the changes aren't saved? Any errors show up?
Offline
ctontab -l
No errors. It's just like nothing happened.
Offline
ctontab -l
No errors. It's just like nothing happened.
My user starts with an empty crontab (the root has some stuff in his)
[karol@black ~]$ sudo crontab -l -u karol
[karol@black ~]$ sudo crontab -l -u root
# root crontab
# DO NOT EDIT THIS FILE MANUALLY! USE crontab -e INSTEAD
# man 1 crontab for acceptable formats:
# <minute> <hour> <day> <month> <dow> <tags and command>
# <@freq> <tags and command>
# SYSTEM DAILY/WEEKLY/... FOLDERS
@hourly ID=sys-hourly /usr/sbin/run-cron /etc/cron.hourly
@daily ID=sys-daily /usr/sbin/run-cron /etc/cron.daily
@weekly ID=sys-weekly /usr/sbin/run-cron /etc/cron.weekly
@monthly ID=sys-monthly /usr/sbin/run-cron /etc/cron.monthlyBut then I edit it and add 'foo' (just to test things)
[karol@black ~]$ sudo crontab -e -u karol
[karol@black ~]$ sudo crontab -l -u karol
foo
[karol@black ~]$ Seems to work.
Offline
That's the thing. Mine is exactly the same up to the second
[karol@black ~]$ sudo crontab -l -u karol
PS
I do have some things already in crontab of this user, which I added months ago.
Offline
Is there no output like
[jim@arch /home/jim]$ crontab -e
crontab: no changes made to crontab
[jim@arch /home/jim]$ crontab -e
crontab: installing new crontabOffline
Nope, nothing.
Offline
in my humble experience - usually it boils down to file-permissions
Offline
Which is very likely due to my recent systemwide permission ordeal.
What and how should I set in terms of cron-related files?
Offline
Pages: 1