thanks for your help everyone, i have been able to set the environmental variable for editor in .bash_profile and it worked. I was able to create a test-schedule, install it and it ran well. however i am not able to edit it again. These are the steps i took: 1. As root i issued # crontab -u cronuser testcron 2. i # su cronuser and issued: $ crontab -e as cronuser 3. i was able to edit the schedule: it opened as /temp/cron.3214 or something. i saved it using the same name. 4. by default the crontab was installed once i saved it. It ran on schedule and i wanted to go back and edit it again. however once i tried opening it by issuing crontab -e as cronuser it opened as an empty file. with a different name. what could be the issue here? ________________________________________________________________________ Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html