Script using Here Documents
From: Ron Schwingel (rschwing_at_NDSLTD.COM)
Date: 10/29/03
- Previous message: Adams Kevin J: "Re: cron logs"
- Next in thread: Bill Verzal: "Re: Script using Here Documents"
- Maybe reply: Bill Verzal: "Re: Script using Here Documents"
- Maybe reply: Renison, Rick: "Re: Script using Here Documents"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Oct 2003 11:55:01 -0700 To: aix-l@Princeton.EDU
Can someone please tell me if it's possible to execute a script that
contains Here Documents from cron.
Begin Script
...
...
command <<EOF
...
...
EOF
...
...
End Script
Ron Schwingel
Technical Support
NDS Solutions
303.755.4411(phone)
303.755.4545(fax)
rschwing@ndsltd.com
- Previous message: Adams Kevin J: "Re: cron logs"
- Next in thread: Bill Verzal: "Re: Script using Here Documents"
- Maybe reply: Bill Verzal: "Re: Script using Here Documents"
- Maybe reply: Renison, Rick: "Re: Script using Here Documents"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: How to catch erro from spawned command?
... You've got several problems with this expect script see comments ... if you
want the ssh command to write to a file on the remote system ... # but we always want to
wait for eof ... set buffer $expect_out; ... (comp.lang.tcl) - Re: Nmon scheduling question
... command ran first then in the script is the ps and kill command so it ...
Vince this is a great script. ... Cron Job with pid: 135238 Failed ... (AIX-L) - SUMMARY: cron entry: nth day of every month?
... cron can not handle this with its own syntax. ... 21st but "command"
only runs if the output of the "date" command ... What I would suggest is rather than embedding
the logic in each script ... The answer is it is _not_ possible to control it only with
crontab ... (Tru64-UNIX-Managers) - Re: Problems trying to configure Linux laptop to print to Windows XP shared printer
... map to guest = Never ... check password script = ... enumports
command = ... ldap delete dn = No ... (comp.os.linux.setup) - Problems trying to configure Linux laptop to print to Windows XP shared printer
... map to guest = Never ... check password script = ... enumports
command = ... ldap delete dn = No ... (comp.os.linux.setup)