Cannot save edit on cron on Solaris 10


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Cannot save edit on cron on Solaris 10
# 8  
Old 02-20-2013
Not sure if it work but you can try to remove one zero from the start of your commad and try
Code:
0 2

. Also have you run the command seperately . Is this working fine when you are running it alone.
# 9  
Old 02-20-2013
Hi,
I have removed the job (its not needed) and the cronfile saves without any errors but saves as "/tmp/crontabhNaiKL" 43 lines, 2957 characters" and not the name of the file 'runjobs'

How do I fix this?

Thank you,
Scarlet
# 10  
Old 02-20-2013
check this link. It might help u in changing the crontab file name.

Howto set-up a crontab file - corenominal
# 11  
Old 02-20-2013
Thanks for all your help. Keep blessed.

Regards,
Scarlet
# 12  
Old 02-20-2013
Quote:
#00 17 * * * /usr/bin/bash /export/home/oracle/export_audit_trail.shl > /export/home/oracle/export_audit_trail.log 2> /export/home/oracle/export_error_audit_
trail.log
That's two lines - someone managed to split the commented line!
To correct it, in the commented line please join the next trail.log line!
(Shift-J in vi)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Seen Windows pc, having all the features of Linux, could exe, read and edit save like windows

Hi, totally new to linux base using windows when started learning and using computers. but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies

2. UNIX for Dummies Questions & Answers

Save cron job get permission denied

After I edit the cron job by using crontab -e and using :wq! to save, i got following error message: "/tmp/crontabxvaarX" 1 line, 60 characters crontab: /tmp/crontabxvaarX: Permission denied Could anyone please help? (1 Reply)
Discussion started by: Alex Li
1 Replies

3. Shell Programming and Scripting

Bash script - add/edit to file and save - sed?

I'm working on a script to execute a number of items. One being, editing particular files to add certain lines. I'm attempting to utilize sed, but, having issues when running from a bash script. Assistance is greatly appreciated. My example: sed -i '14 i\ # add these lines add these lines to... (5 Replies)
Discussion started by: Nvizn
5 Replies

4. Shell Programming and Scripting

what is the switch to let sed edit and save file

I remember there is a sed switch i can use to edit and save the file at the same time, but i cannot recall it at all. so instead of -> sed 's/A/B/' file > file-tmp -> mv file-tmp file what can i do to just let sed edit and save the "file" (4 Replies)
Discussion started by: fedora
4 Replies

5. Shell Programming and Scripting

How search,edit and save the file

Hi All, I want to edit a file using shell script..For ex...a file called /etc/passwd..here I am searching for "ftp" if it is there just change it to "tftp" without using any temporary file. (3 Replies)
Discussion started by: Vichu
3 Replies

6. Shell Programming and Scripting

Edit a file and save the changes

I have an xml file that gets created as a part of daily build. I have to modify some lines in this file, uncomment some lines, comment some line, add 2 new lines in the file every time. Is there an easier automated way to do this using perl, bash, or sh. I would appreciate it if someone can point... (1 Reply)
Discussion started by: saurabh1982
1 Replies

7. UNIX for Dummies Questions & Answers

How to edit cron jobs

Hi expert, I'd like to edit the cron jobs, please advice how do I do it. Thanks (2 Replies)
Discussion started by: shaan_dmp
2 Replies

8. Solaris

Different edit crontab at Solaris..?

Hi.. At linux I can edit crontab with command $crontab -e BUT I don't know to edit crontab at Solaris because I tried with command $crontab -e I can't do that Can you help me...? Thanks for solution regards, srilinux (25 Replies)
Discussion started by: srilinux
25 Replies

9. Solaris

cron edit

hi all, new to the site hope you can help something really easy I bet. When trying to edit the cron I get the following message 577 ? I try and enter a new line in but when I quit it keeps on saying no changes have been saved? any ideas. Thinking its to do with premissions of some sort? ... (2 Replies)
Discussion started by: fightinIrish
2 Replies

10. UNIX for Dummies Questions & Answers

Save Solaris x86

Anyone who uses, has used, or would like to use Solaris on Intel-compatible hardware should rush right over to this site: http://www.save-solaris-x86.org/ If you want it, make sure you speak up! (3 Replies)
Discussion started by: LivinFree
3 Replies
Login or Register to Ask a Question