crontab -e dosent work


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers crontab -e dosent work
# 8  
Old 05-22-2003
Do you receive any error messages as root? Did you try google's suggestion as root?
# 9  
Old 05-22-2003
Yupp....tried using googles suggestion, but nothing happens.
It looks like the changes are working. But when you look in the env. the EDITOR line has not changed. It still says EDITOR=VI and
not EDITOR=vi as i would like it to do.
# 10  
Old 05-22-2003
A possible alternative :

# crontab -l > [somefile]

Edit [somefile]

# crontab [user] [somefile]

Pretty sure that's right (bad memory)
# 11  
Old 05-22-2003
Quote:
Originally posted by dozy
Yupp....tried using googles suggestion, but nothing happens.
It looks like the changes are working. But when you look in the env. the EDITOR line has not changed. It still says EDITOR=VI and
not EDITOR=vi as i would like it to do.
"export EDITOR=vi" is ksh syntax. I'm guessing that root is using the Bourne shell. Try this:
EDITOR=vi export EDITOR
# 12  
Old 05-26-2003
Yupp...that did the trick..strange that they are using diffrent shells for diffrent users....
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[Crontab] didn't work

Hello, Here is my crontab # Reboot one Sunday out of 2 at 02:00 0 2 * * 0/2 /usr/bin/reboot 2017-04-16 2017-04-23 2017-04-30 and so on I tested my crontab here, it seems to work Http://cron.schlitt.info/index.php?c...=100&test=Test However on my distrib linux mageďa When I register... (4 Replies)
Discussion started by: amazigh42
4 Replies

2. Shell Programming and Scripting

Autorep command does not work from crontab !

Hi, I have written a ksh script and I'ma using the following command in it: autorep -j %abcd% | grep RU | grep BOX1 The script works fine when executed manualy on the command prompt. But does not work when scheduled in crontab. I could see the following in the crontab log: ... (1 Reply)
Discussion started by: girish1428
1 Replies

3. Linux

Setting up crontab, still cant get it to work

OK I have been working on this simple action for a while and I cannot get it to work. First off im new to the linux command line world. I feel like I am missing something simple. What I am trying to achieve is that I want this command: tcpdump -s2000 -w'flowroute-%H%M.pcap' -G900 -W36 &to... (13 Replies)
Discussion started by: Nasasdge
13 Replies

4. Shell Programming and Scripting

IDL job doesn't work from crontab

I have made a script to execute an IDL routine with the purpose to plot data on a fixed time. The problem is that when I include this script in the crontab to run it every night, the IDL part doesn't work (the other commands, like getting data from the database, are carried out though). This... (4 Replies)
Discussion started by: SharkM
4 Replies

5. AIX

Crontab file doesnt seem to work

Hi all. Could anyone explain me why this simple cron job doesnt work: % whoami system % crontab -l * * * * * /usr/bin/touch /home/system/foo (3 Replies)
Discussion started by: bsddaemon
3 Replies

6. Shell Programming and Scripting

A script doesnt work properly when crontab

Hi, I have a script which does a tar and sends it to another server as backup. Script is as below # Locations to be backed up. Seperate by space BACKUP_LOCATIONS=/repos/subversion BACKUP_BASE_FOLDER=/bakpool BACKUP_FILE_NAME_ROOT=svn-backup START_TIME_DISP=`date` START_TIME=`date... (11 Replies)
Discussion started by: digitalrg
11 Replies

7. Shell Programming and Scripting

Expect script doesn't work under crontab

Hi All, Using Expect script when I run it manually it works. But when I put the entry in crontab, the job is still running after 15 hours. The script was created as root. I don't think it's a permission issue. Any idea? This is what I have under root crontab... 00 18 * * 1-5... (4 Replies)
Discussion started by: samnyc
4 Replies

8. UNIX for Advanced & Expert Users

why the date format dont work in crontab

Hi I tried to put a cron job which pipes the logfile appended to date +%d but it didnt work . anyone know how to make this happen thanks in advance -prasad (7 Replies)
Discussion started by: p4cldba
7 Replies

9. UNIX for Dummies Questions & Answers

The loop that dosent work

I have a serious problem and Im sure im just doing something stupid ######Start Load while do /export/home/mldwh/rkem_refresh/int_load/scripts/rkem_refresh.sh sleep 10 while do sleep 5 done done ######Log and Runstats sleep... (12 Replies)
Discussion started by: jadionne
12 Replies

10. UNIX for Dummies Questions & Answers

traceroute dosent work

hi , folks i m back with again some silly question i think.!! i can do ftp , telnet from windows to unix machine , but not vice versa!!! , from unix box , i get connection refused , and ping says not alive. ,...my os . solaris 7 , ok i know ishouldnt load network by using traceroute , but itried... (2 Replies)
Discussion started by: definate
2 Replies
Login or Register to Ask a Question