Default crontab editor

Hi guys

i cannot find a way to permanently change crontab editor.

export EDITOR=nano

works but after reboot vim comes up again.

Any clues guys how to change crontab editor for good?

Thank you.

1 Like

try adding it to $HOME/.profile

Or /etc/profile

https://openwrt.org/docs/guide-user/base-system/user.beginner.cli#profile_customization

2 Likes

This did the trick. Many thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.