Operating System - HP-UX
1827474 Members
2289 Online
109965 Solutions
New Discussion

Re: What are Time and Event Based Scripting

 
sai.prashant
Occasional Advisor

What are Time and Event Based Scripting

Hello All,
It will of great help if any could answer the below listed question for me.
1. What are time based and event based shell scripting and how to write these scripts, any site for reference.
2.What is xmail and sendmail, how to configure and use it. what is the best possible scenario where we can use it.
3.How to configure FTP server and what security, steps to be followed to configure it.

Thanks
Sai
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Muthukumar_5
Honored Contributor

Re: What are Time and Event Based Scripting

1. Scripts are can be automated regarding to time by cron job or by putting sleep time on the script. After the particular time script will be executed to do the specific job.

Event based one depends upon your requirement such as, if a log file gets any entry then execute this module or if you get any signal ( trap ) the execute this function like that.

We can say event as,

if check point
event1
else
eventn

It is also can be given as event based one

2. xmail are web based mail service. And get more informations over http://freshmeat.net/projects/xmail/
sendmail informations can be known it's man page and related files

3. http://docs.hp.com/ search here to get your needed document on ftp configuration.

We can give security to ftp using inetd.sec file / .netrc file / ftpaccess files / ftp users file.

You can view all those informations from ftpd ftp man pages.

Easy to suggest when don't know about the problem!