Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Cannot save edit on cron on Solaris 10 Post 302771360 by Scarlet on Wednesday 20th of February 2013 12:08:10 PM
Old 02-20-2013
Cannot save edit on cron on Solaris 10

Hi Everyone,
I have edited my cron using 'crontab -e'. When I try to save the changes using ':wq!' The file closes but the changes are not saved. I get the following messages:
"/tmp/crontabJFainH" 45 lines, 2996 characters
trail.log
crontab: error on previous line; unexpected character found in line.
crontab: errors detected in input, no crontab file generated.


Can someone please help me?

Regards,
Scarlet
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
XmScrollVisible(library call)											     XmScrollVisible(library call)

NAME
XmScrollVisible -- A ScrolledWindow function that makes an invisible descendant of a ScrolledWindow work area visible SYNOPSIS
#include <Xm/ScrolledW.h> void XmScrollVisible( Widget scrollw_widget, Widget widget, Dimension left_right_margin, Dimension top_bottom_margin); DESCRIPTION
XmScrollVisible makes an obscured or partially obscured widget or gadget descendant of a ScrolledWindow work area visible. The function re- positions the work area and sets the specified margins between the widget and the nearest viewport boundary. The widget's location relative to the viewport determines whether one or both of the margins must be adjusted. This function requires that the XmNscrollingPolicy of the ScrolledWindow widget be set to XmAUTOMATIC. scrollw_widget Specifies the ID of the ScrolledWindow widget whose work area window contains an obscured descendant. widget Specifies the ID of the widget to be made visible. left_right_margin Specifies the margin to establish between the left or right edge of the widget and the associated edge of the viewport. This margin is established only if the widget must be moved horizontally to make it visible. top_bottom_margin Specifies the margin to establish between the top or bottom edge of the widget and the associated edge of the viewport. This margin is established only if the widget must be moved vertically to make it visible. For a complete definition of ScrolledWindow and its associated resources, see XmScrolledWindow(3) RELATED
XmScrolledWindow(3). XmScrollVisible(library call)
All times are GMT -4. The time now is 01:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy