Re: [foxboro] CP UPLOADS
- From: "Boulay, Russ" <russ.boulay@xxxxxxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Wed, 29 Oct 2008 12:36:56 -0400
As always..be sure your script also checks for disk space...as a shrink
with no space on hardrive will leave your ICC workfile empty...
-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Bud.Kahovec@xxxxxxxxx
Sent: Wednesday, October 29, 2008 12:29 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] CP UPLOADS
"Anyone know if there is a way to automate CP Uploads."
Build the script below, run via crontab:
#! /bin/sh
cd /opt/fox/ciocfg/api
apidir=/opt/fox/ciocfg/api
savedir=/opt/customer/scripts/uploads
$apidir/iccdrvr.tsk -i $savedir/Xstation.upload -o $savedir/Xstation.log
-n echo
The above calls Xstation.upload listed below:
OPEN X2CP01 MODIFY byME
UPLOAD
SHRINK
CLOSE
OPEN X2CP02 MODIFY byME
UPLOAD
SHRINK
CLOSE
OPEN X2CP03 MODIFY byME
UPLOAD
SHRINK
CLOSE
EXIT
Creates the Xstation.log listed below:
DONE 1 OPEN X2CP01!: Sun Jul 6 23:00:02 2008
DONE 2 UPLOAD X2CP01!: Sun Jul 6 23:54:19 2008
DONE 3 SHRINK X2CP01!: Sun Jul 6 23:54:25 2008
DONE 4 CLOSE X2CP01!: Sun Jul 6 23:54:25 2008
DONE 5 OPEN X2CP02!: Sun Jul 6 23:54:25 2008
DONE 6 UPLOAD X2CP02!: Mon Jul 7 00:33:35 2008
DONE 7 SHRINK X2CP02!: Mon Jul 7 00:33:40 2008
DONE 8 CLOSE X2CP02!: Mon Jul 7 00:33:40 2008
DONE 9 OPEN X2CP03!: Mon Jul 7 00:33:40 2008
DONE 10 UPLOAD X2CP03!: Mon Jul 7 01:02:30 2008
DONE 11 SHRINK X2CP03!: Mon Jul 7 01:02:32 2008
DONE 12 CLOSE X2CP03!: Mon Jul 7 01:02:32 2008
DONE 13 EXIT X2CP03!: Mon Jul 7 04:10:05 2008
Works for us on AW51E's.
bud/
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
* Confidentiality Notice:
This e-mail and any associated files are intended solely for the individual or
entity to whom they are addressed. Please do not copy it or use it for any
purposes, or disclose its contents to any other person. Further, this e-mail
and any associated files may be confidential and further may be legally
privileged. This email is from the Invensys Process Systems business unit of
Invensys plc which is a company registered in England and Wales with its
registered office at Portland House, Bressenden Place, London, SW1E 5BF
(Registered number 166023). For a list of European legal entities within the
Invensys Process Systems business group, please click here
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.
If you have received this e-mail in error, you are on notice of its status.
Please notify us immediately by reply e-mail and then delete this message from
your system. Thank you for your co-operation. You may contact our Helpdesk on
+44 (0)20 7821 3859 / 2105 or email inet.hqhelpdesk@xxxxxxxxxxxxx This e-mail
and any attachments thereto may be subject to the terms of any agreements
between Invensys (and/or its subsidiaries and affiliates) and the recipient
(and/or its subsidiaries and affiliates).
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
- Follow-Ups:
- Re: [foxboro] CP UPLOADS
- From: Ron Deen
- References:
- [foxboro] CP UPLOADS
- From: Jenckes, Jim R.
- Re: [foxboro] CP UPLOADS
- From: Bud.Kahovec
Other related posts:
- » Re: [foxboro] CP UPLOADS
- » Re: [foxboro] CP UPLOADS
- » Re: [foxboro] CP UPLOADS
- » Re: [foxboro] CP UPLOADS
- » Re: [foxboro] CP UPLOADS
- » Re: [foxboro] CP UPLOADS
- » Re: [foxboro] CP UPLOADS
- » Re: [foxboro] CP UPLOADS
- » Re: [foxboro] CP UPLOADS
- Re: [foxboro] CP UPLOADS
- From: Ron Deen
- [foxboro] CP UPLOADS
- From: Jenckes, Jim R.
- Re: [foxboro] CP UPLOADS
- From: Bud.Kahovec