mksysb script




I want to schedule my mksysb's to run afterhours now but I'm not sure how to properly capture the output to a log file.
Does anybody have a script they use?
I generally run a ksh file that just runs:
mksysb -i /dev/rmt0
tctl -f /dev/rmt0 offline

but if someone has something that logs the result and mails success or failure that would be great.

Mark



<html><body><font face = "arial" size = "1">
DISCLAIMER: The information transmitted is intended only
for the addressee and may contain confidential,
proprietary and/or privileged material. Any
unauthorized review, distribution or other use
of or the taking of any action in reliance upon
this information is prohibited. If you received
this in error, please contact the sender and
delete or destroy this message and any copies.
</font><body></html>

Relevant Pages

  • Re: Problem with locked log file produced by batch file
    ... My guess for the day is that your previous schedule is still running ... I redirect the output from the batch file to a log file. ... The ST runs the batch file as the same user as I log on to the server ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Scheduling a script
    ... I do have a log file backup scheduled along with my regular backup. ... It can schedule jobs and run code. ... > Can I add though that this script is probably not a good idea. ...
    (comp.databases.ms-sqlserver)
  • Re: email from command prompt
    ... I don't see any options to attache a file with mailto--thanks. ... >>> not have to login remotely to the server to check the status of the ... >>> .log file to my email address, and then I will schedule it with Scheduled ...
    (microsoft.public.windows.server.sbs)
  • Re: Scheduled tasks copied between servers often do not run
    ... log file, then modify it to run the tasks that YOU want to run. ... echo %date% %time% Start of task> c:\test.log ... Once they have been run manually the first time, they schedule normally ... different images, to 4 different servers ...
    (microsoft.public.windowsxp.general)
  • Re: NT Backup scheduled job not working
    ... >> volume from a PDC to a folder on another server but it ... Separate backup software also runs on these ... No log file created for the scheduled ... Schedule Options for the job the date had been set at one ...
    (microsoft.public.win2000.general)