[Mono-list] SPAM-LOW: Console app start at start up?
William Huskey
william.huskey at gmail.com
Sat Jun 24 11:53:55 EDT 2006
can you start it after boot,
if you can start it, create a cron job that checks if it is running (say
every 5 min) and if not running have it start it.. this way it will be
started by cron after boot with in the time frame you set up, but how often
are you booting a Linux box..
On 6/23/06, Lee <lee at datatrakpos.com> wrote:
>
>
>
> Something else came to mind. Do I need to give the executable file (on
> linux) any other permission than execute (chmod +x my.exe) ???
>
> I have re-written my prototype to use ansynchronous sockets instead of
> TcpListener and still cannot get the socket server to run on linux (CentOS
> 4). I have the firewall turned off for that computer as well.
>
> I even tried running as a Console app and the socket server still will not
> run.
>
> It can't be this difficult, LOL.
>
> Thanks again for any help or advice.
>
> Lee
>
>
> >
> >
> > I have had a bit of difficulty in implementing a socket
> > server as a service application with mono and have been asked
> > to enter a report in bugzilla which I have done. Must I use
> > a service application to have a program run at startup?
> >
> > Can a console app be made to start up automatically? Does
> > that even make sense to do?
> >
> > I looked into using xinet.d but it seems that the line buffer
> > is limited to
> > 255 bytes and I will be sending xml packets back and forth
> > that will exceed that easily.
> >
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
--
William S. Huskey
UNIX Systems Engineer
Maritime Systems Solutions Division
SAIC
Tel: 425-267-5643
Email: huskeyw at saic.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060624/88a89e50/attachment.html
More information about the Mono-list
mailing list