On 19 Nov. 2016, at 01:52, Kenneth Grome <ken@webdnasolutions.com> wrote:The problem of the ="stop" from a WebDNA page is of course that
you would not =be able to start it afterwards, WebDNA being
offline.
Correct. That's why I could =use a 'restart' command for WebDNA
that will actually work =from inside a [shell] context.
If you know =the proper command that should work please tell me and
I'll =try it again. It's been a couple year since I worked on
this, and I cannot find any reference to the restart command =in
the online docs.=46rom the command line, =start, stop as well as restart work
fine, as far as I =know.
But do the same commands =work from within the [shell] context?
The =reason I ask because shell scripts sometimes do not work the
same inside a [shell] context as when typed into a Terminal =window.
Here's my situation:
I want to give my client, the owner of the =server, a WebDNA-based
admin tool that will let him =remotely restart WebDNA (or better
yet, reboot the server) =if he discovers a problem while I am not
available. = This is a capability that any programmer/host in my
situation might want to give his clients.
I worked on this a couple years ago but ran into a little =problem:
When I tried restarting WebDNA by =entering the command in a
Terminal window it worked, but =when I used the same command in a
shell script it =failed.
I never took it any further back =then. Maybe the problem was that
the same command in =WebDNA's [shell] context failed because WebDNA
is not ='root'?
Regards,
Kenneth =Grome
WebDNA Solutions
http://www.webdnasolutions.com
Web Database =Systems and Linux Server Administration
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To =unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
|
On 19 Nov. 2016, at 01:52, Kenneth Grome <ken@webdnasolutions.com> wrote:The problem of the ="stop" from a WebDNA page is of course that
you would not =be able to start it afterwards, WebDNA being
offline.
Correct. That's why I could =use a 'restart' command for WebDNA
that will actually work =from inside a [shell] context.
If you know =the proper command that should work please tell me and
I'll =try it again. It's been a couple year since I worked on
this, and I cannot find any reference to the restart command =in
the online docs.=46rom the command line, =start, stop as well as restart work
fine, as far as I =know.
But do the same commands =work from within the [shell] context?
The =reason I ask because shell scripts sometimes do not work the
same inside a [shell] context as when typed into a Terminal =window.
Here's my situation:
I want to give my client, the owner of the =server, a WebDNA-based
admin tool that will let him =remotely restart WebDNA (or better
yet, reboot the server) =if he discovers a problem while I am not
available. = This is a capability that any programmer/host in my
situation might want to give his clients.
I worked on this a couple years ago but ran into a little =problem:
When I tried restarting WebDNA by =entering the command in a
Terminal window it worked, but =when I used the same command in a
shell script it =failed.
I never took it any further back =then. Maybe the problem was that
the same command in =WebDNA's [shell] context failed because WebDNA
is not ='root'?
Regards,
Kenneth =Grome
WebDNA Solutions
http://www.webdnasolutions.com
Web Database =Systems and Linux Server Administration
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To =unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...