DigitalOcean Referral Badge
Udit Vashisht
Author: Udit Vashisht

How to open and edit crontab on different editor on Raspberry Pi?

  • 2 minutes read
How to open and edit crontab on different editor on Raspberry Pi?

    Table of Contents

What is Cron or Crontab?

Cron or Crontab is a tool for configuring scheduled tasks on Unix systems and Raspberry Pi. It is used to schedule commands or scripts to run periodically and at fixed intervals. It is one of the major tools which is used for running automations on Raspberry Pi.

How to view scheduled task on Raspberry Pi?

You can view your tasks scheduled using Cron/Crontab by using the following code:-

crontab -l

How to open and edit the Cron/Crontab file on Raspberry Pi?

You can open and edit the Cron/Crontab file on raspberry pi using :-

crontab -e

But, it opens the crontab in Nano Editor by default and some people find it difficult to edit in Nano Editor


How to open and edit Crontab in differnt editor on Raspberry Pi?

You can choose a different editor for crontab by :-

By default this will give you an option to select among Nano & VIM. After selecting your favorite editor, you can use crontab -e and it will open in the editor of your choice.

How to add Geany Editor in the list of editors in Raspberry Pi?

You can also choose to use the Geany Editor available on Raspberry Pi to edit the Crontab/Cron. But Geany Editor is not available in the list of the editors and to add the same you will have to use the following command:-

sudo update-alternatives --install /usr/bin/editor editor /usr/bin/geany 10

By doing this you will get geany editor in the list when you do select-editor


And thereafter using crontab -e will open it in your selected editor

Related Posts

No related posts yet!

tech tutorials automate python beautifulsoup web scrapping webscrapping bs4 Strip Python3 programming Pythonanywhere free Online Hosting hindi til github today i learned Windows Installations Installation Learn Python in Hindi Python Tutorials Beginners macos installation guide linux SaralGyaan Saral Gyaan json in python JSON to CSV Convert json to csv python in hindi convert json csv in python remove background python mini projects background removal tweepy Django Django tutorials Django for beginners Django Free tutorials Proxy Models User Models AbstractUser UserModel convert json to csv python json to csv python Variables Python cheats Quick tips == and is f string in python f-strings pep-498 formatting in python python f string smtplib python send email with attachment python send email automated emails python python send email gmail automated email sending passwords secrets environment variables if name == main Matplotlib tutorial Matplotlib lists pandas Scatter Plot Time Series Data Live plots Matplotlib Subplots Matplotlib Candlesticks plots Tutorial Logging unittest testing python test Object Oriented Programming Python OOP Database Database Migration Python 3.8 Walrus Operator Data Analysis Pandas Dataframe Pandas Series Dataframe index pandas index python pandas tutorial python pandas python pandas dataframe python f-strings padding how to flatten a nested json nested json to csv json to csv python pandas Pandas Tutorial insert rows pandas pandas append list line charts line plots in python Django proxy user model django custom user model django user model matplotlib marker size pytplot legends scatter plot python pandas python virtual environment virtualenv venv python python venv virtual environment in python python decorators bioinformatics fastafiles Fasta python list append append raspberry pi editor cron crontab Cowin Cowin api python dictionary Python basics dictionary python list list