crontab entry not working

Hi,

I have added the script entry into crontab by using crontab -e.

30 * * * * /scripts/info.pl $HOME/GCSS/logs > /dev/null 2>&1

But its not working yet.

Note: When i was added the script by the time I have faced issue as below
1) If I use crontab -l then i got cant open the script.
solved: I have open the crontab -l then pressed del key only .

2) If i open the crontab -e then I got 0 ,
Solved: I have export the vi EDITOR then ok now.
After that I have opened then i got 96 number.

I dont know How can i solve the issue.

Please advice on this.

Thanks,
Mani

What is not working ? How do you conclude it doesn't ?

Can you clarify what the delete key has to do with "crontab -l".

That means the crontab file is empty.

This is expected and the default behavior, i.e. ed is used to edit your crontab. "96" is the number of characters in your crontab file. You need to export EDITOR with an editor you are familiar with.

Its better that you add below line in your .profile file so that everytime you login the EDITOR gets set to vi and is exported.

 
export EDITOR=vi

I think you have taken another session and then tried to crontab -e but the EDITOR wasn't set permanently hence it has given you 96 [the number of characrers].

Regards,
Vishal