David Set up a unix script and run the (can be from the crontab if you like)
This works for us ################################################################## # Invoke program EWEMAILHANDOFF in /TESTING # Process email requests ################################################################## # echo Start of Script cd /PROD echo "PHANTOM EWEMAILHANDOFF" | uv echo End of Script Bob -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Wolverton Sent: 22 August 2008 02:57 To: u2-users@listserver.u2ug.org Subject: [U2] [UV] Start a phantom from DOS Command Line I need to run a UniVerse BASIC program or a "PHANTOM" command from a DOS command line so that I can 'schedule' a batch file that will start a phantom that needs to run all the time... Right now, the phantom goes offline with the backup, and I want to 'auto restart' it at 6am using the Windows Scheduler. I can't find a 'DOS command line' launcher like I have in UniData. For example, I want to either execute: PHANTOM PROGNAME VAR1 VAR2 OR RUN BP PROGNAME.LAUNCHER ... that in itself does the PHANTOM launch. How do I get that to a 'one line BAT file' entry? I've looked at the manual using 'launch' 'run' 'start' as index lookup items -- none seem to tell me how to start from a DOS command prompt and execute a UniVerse shell and directl launch a phantom/program. And I thought it was going to be uvsh, but it does not appear it can 'take' arguments... Thanks for an suggestion here! David Wolverton ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ Confidentiality Notice: This e-mail and any attachments are intended solely for the addressee and may contain confidential or privileged information. If you are not the named addressee, or the person responsible for delivering the message to the named addressee, please notify the sender as soon as possible and delete the material from your computer. This message will be protected by copyright. If it has come to you in error, you must not take any action based on its contents nor must you copy or show the message to any person other than the intended recipient. _____________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/