[Skip Header and Navigation] [Jump to Main Content]

drupal on Linux: why "crontab -e" is not working ?

You are not authorized to post comments.

Working on Linux, we have to use cron to execute jobs such as backups, drupal's search index build and many others.

But how come nothing happens when you run:

 crontab -e 

Many reasons could cause this, but it is most likely that your session's default editor is not installed or somehow ... vanished

Assuming you have vim working on your Linux,

here is how you can change your session's default editor to vim:

 export EDITOR="vim"

 Now, if you type again

 crontab -e 

a vim editor will open the cron file for editing

 

If you like to make it permanent,

here is a link to usefull article change the default editor

by Kevin van Zonneveld, aka @kvz

Liked it? Have a Question on it?

Write a comment

The Devart Team

CMS -Content Management Systems
What is a CMS website
Drupal CMS
The Benefits of a Drupal website
DevArt- drupal websites
DevArt the website you need

Latest Tweets

checking if we should replace our java-app with Scala + Lift 1 week 1 day ago
I'm hiring a senior Java programmer 1 week 3 days ago
got our new website on air - http://t.co/NsV6xFLI tell me if you like it or not 6 weeks 1 day ago
בואו לראות את האתר חדש שהעלינו היום- http://lnkd.in/dm6TVj 1 year 1 week ago
פורמייקה פסים אפור kitchen-stock.co.il/content/פורמייקה-פסים-אפור 1 year 8 weeks ago

Testimony

I have worked with DevArt for over a year and I highly recommend them for any drupal needs.

 

What has impressed me most about Avior, is his loyalty and integrity. He has always been there for my company and because I was a start up company even helped me out on a payment plan. He's also a very hard worker and worked many late nights before my launch

 

Andrew Gitt

Principal & CMO

Story Time For Me, Inc.