Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

14
  • You mean you can't edit it with crontab -u sysadmin -e as root? Commented Jun 17, 2024 at 15:34
  • @Kusalananda: I can't edit it with emacs - I assume that crontab -e would work. Commented Jun 17, 2024 at 15:53
  • Please edit your question and show us i) how you try to edit it and ii) how it fails. Is there an error? What error? Is there no error but your changes disappear? What happens? Commented Jun 17, 2024 at 16:09
  • 1
    You can (and should) use crontab -e regardless of which editor you want to use - just specify emacs via the EDITOR or VISUAL environment variable. See for example crontab -e doesnt shows option to select editor - what to do? Commented Jun 17, 2024 at 19:43
  • 1
    What does ls -ld /var/spool/cron/crontabs/ say? What is the fs.protected_regular sysctl set to? Commented Jun 18, 2024 at 14:53