Home » Developer & Programmer » Forms » HOST command on Linux
HOST command on Linux [message #255135] Mon, 30 July 2007 13:59 Go to next message
mungeroo
Messages: 6
Registered: July 2007
Junior Member
I am trying to run the most basic Unix server side command from a Forms 10g trigger: HOST('date > thedate',no_screen);
The file 'thedate' is created, however it is empty. WHY?
Anyone?

[Updated on: Mon, 30 July 2007 14:01]

Report message to a moderator

Re: HOST command on Linux [message #255136 is a reply to message #255135] Mon, 30 July 2007 14:05 Go to previous messageGo to next message
Frank Naude
Messages: 4590
Registered: April 1998
Senior Member
You don't have a "date" command in PATH. Try something like:

HOST('/bin/date > thedate',no_screen);
Re: HOST command on Linux [message #255142 is a reply to message #255136] Mon, 30 July 2007 15:06 Go to previous message
mungeroo
Messages: 6
Registered: July 2007
Junior Member
Embarassed
Thanx. I am truly embarassed.
Previous Topic: Form property doubt
Next Topic: how to delete records
Goto Forum:
  


Current Time: Sun Feb 09 18:35:30 CST 2025