troubleshooting Question

Script to check timestamp and restart service

Avatar of networkn
networkn asked on
Novell Netware
51 Comments1 Solution1890 ViewsLast Modified:
We are having a problem where everytime the server is restarted, outbound email is not leaving until GEE Whiz and GWIA are restarted.
We are getting connection refused connection errors on the gwia and that is something being taken up with our ISP.

However the way to work around it, is to have it so that should messages in the gwia\sent folder be more than 10 minutes old, then unload and reload gwia.nlm and gee2.nlm.. What I need is a way for this to occur. Someone said script something in perl but I don't know any perl.

Essentially the perl script needs to check and if the oldest message in the queue has been around more than 15 minutes, restart the services mentioned above.. Is there another way? Then how do I schedule that to run every say 20 minutes or so?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 51 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 51 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros