pleaseee help with unusual crontab problem


 
Thread Tools Search this Thread
Operating Systems Solaris pleaseee help with unusual crontab problem
# 1  
Old 05-08-2006
pleaseee help with unusual crontab problem

Helllo folks...

I tryed to edit crontab and I have this problem when I do crontab -l it shows my crontab correctly and if I do crontab -e I get this.

baafh-99.03#
baafh-99.03# crontab -e
1063

?

?

?

?

?

and that is all ...Smilie I have to type "q" and hit enter and I am back on prompt:

baafh-99.03#

how can I edit my crontab?
Any Help will be apprecieted...

cheers...
# 2  
Old 05-08-2006
export EDITOR=vi
crontab -e

Cheers
ZB
# 3  
Old 05-08-2006
Thanks a lot...I tryed with this but I guess I made misstake now it works perfect with this command that U gave me...

Thanks
# 4  
Old 05-10-2006
Again me...My script works perfect and when I add it in crontab...it reports stupid error that one file that script uses does not exist...

As I said script works perfect and if I put it in crontab it does not work...

any ideas??


Cheers,
# 5  
Old 05-10-2006
Have a look at our FAQ

https://www.unix.com/answers-to-frequently-asked-questions/13527-cron-crontab.html

See the section

"It works from the command line but not in crontab"

Cheers
ZB
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unusual problem with cp command

I have made a simple script to zip a file then first copy it to a specific directory using cp command then move it to another directory. Files are getting generated at regular intervals in the dir. /one/two/three/four/. I have entry of my script in cron to run after every 2 min. #!/bin/sh... (9 Replies)
Discussion started by: Devesh5683
9 Replies

2. Solaris

Crontab Problem

Dear All I have machine with SunOS APP5a 5.9 Generic_122300-19 sun4u sparc SUNW,Sun-Fire With crontab like this : 59 23 * * * /home/lng/script/move_and_compress_logs_update.sh But that crontab cannot running at that time. I run my script by manually, the result is fine. What must I check at... (5 Replies)
Discussion started by: mbah_jiman
5 Replies

3. Shell Programming and Scripting

Unusual Problem

what is wrong with the below script: --------------------------------------------------------------------------------- #!/bin/bash echo "Setting JrePath..." grep -w "export JrePath" /etc/profile Export_Status=$? if echo "JrePath declared" elif echo "JrePath not declared" echo... (4 Replies)
Discussion started by: proactiveaditya
4 Replies

4. Solaris

Crontab problem

Hi all, Why my crontab -e from root user is not accessible? It came out some sort of random number, 309. And also for other user, crontab -l came out crontab: can't open your crontab file. I'm grateful for any any help. thanks. (9 Replies)
Discussion started by: beginningDBA
9 Replies

5. AIX

Crontab problem

Hi to all. Guys, i have a truble with oracle user crontab. He work if i'm do 0-59 * * * * echo LOL> ~/test.txt But not work if me set realy norm date For example 14 17 28 12 * echo LOL> ~/test.txt In 17:14 28 December . In log file /var/adm/cron/log nothing.... Please... (3 Replies)
Discussion started by: jess_t03
3 Replies

6. Linux

crontab problem

Hello, I have this in the crontab 30 2 * * * /bin/sh /home/abc but in the log it looks run below Jan 27 08:30:01 localhost crond: (root) CMD (/bin/sh /home/abc how could this happen? I logged in with root user,I use root user's crontab. Kind Regards (9 Replies)
Discussion started by: sunsail
9 Replies

7. UNIX for Advanced & Expert Users

Unusual NFS mount problem on only ONE client: Red Hat WS Rel 3

This is an unusual situation where I have an NFS server currently serving out MULTIPLE clients over several variants of Linux and UNIX successfully (world permissions) except for a SINGLE client. Even the other Linux (SuSE) clients in the same room are mounting successfully with defaults without... (6 Replies)
Discussion started by: neelpert1
6 Replies

8. UNIX for Advanced & Expert Users

crontab problem

hi all while using crontab -e im receiving 754 as output im unable to add a entry in crontab crontab -l is working fine OS: sun5.8 can some one please assist me (4 Replies)
Discussion started by: NIMISH AGARWAL
4 Replies

9. Shell Programming and Scripting

Crontab Problem

Hi All, I have a crontab entry like this... but it's not runing at all...! 30 0 * * * /health_check/FS.sh > /dev/null it should run everyday midnight 1:30 AM is it the problem with that space b/w script and /dev/null ? (9 Replies)
Discussion started by: bullz26
9 Replies

10. UNIX for Dummies Questions & Answers

somewhat unusual top output problem

i'm a relative newbie to unix (i'm on OSX) and i have a specific problem i'm tripped up on: i'm piping the output of top (in log format) into an awk command which formats the information (and eventually will send it out continuously via udp/osc to another app). my problem is with what comes up... (4 Replies)
Discussion started by: ohhmyhead
4 Replies
Login or Register to Ask a Question