![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Variable for User Comment | gseyforth | Shell Programming and Scripting | 2 | 03-09-2007 02:01 PM |
| how to comment multiple lines in unix | balireddy_77 | Shell Programming and Scripting | 3 | 02-19-2007 07:16 AM |
| Comment faire une soustraction de date? | Cecile | UNIX for Dummies Questions & Answers | 2 | 08-25-2006 09:38 AM |
| remove single-line comment | Icy002 | High Level Programming | 3 | 04-09-2006 08:30 AM |
| Need to add a comment line in a text file | orakhan | Shell Programming and Scripting | 2 | 09-22-2005 08:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
# comment
Hi guys and Gals AIX 5.1
If I had a # above several scripts would it comment out everything below it? Like this # 01 2 ** ..................................... 02 31 ......................................... # this is a script 03 12 **.......................... Would everything below that first comment be commented out? Last edited by rocker40; 01-07-2004 at 11:11 AM.. |
|
||||
|
comment
I am using AIX 5.1
I commented out a line and the took it out. The only thing I noticed was that # sitting by itself so it had me wondering. I guess I edited it with {VI} What language would these crons be written in using the AIX 5.1 ? here is the actual script. # 01 1 * * 6 /rd/bin/backup.full >> /rd/tmp/cron.full.log 2>&1 #refresh test enviroment from online backups 01 4 * * 2-6 /rd/bin/restoretest.db >> /rd/tmp/testdbrefresh.log 2>&1 It is the 01 4 * * 2-6 line that hasn't been running. I just saw your reply Maybe it is in the command script itself that the problem is? Last edited by rocker40; 01-07-2004 at 12:14 PM.. |
|
||||
|
resolution!!
It seems that maybe I forgot to run to run this command {crontab root} after using VI in when editing the root file of crontabs.
Some advice to my friends out there. When ever you edit a root file usually located in /var/spool/cron/crontabs you must run {crontab root} to activate the script back into action. Fortunatly I was able to recover the data ![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|