Sponsored Content
Full Discussion: Linux Service
Top Forums Programming Linux Service Post 302251802 by redoubtable on Tuesday 28th of October 2008 05:55:53 AM
Old 10-28-2008
The service/daemon process is very simple. Call daemon() then do_something() and sleep(). You could create a very simple program/script (any language will serve that purpose) that starts by calling daemon() then sleeps until 4am and then parses the file and sleeps again. Alternatively you could just create a simple script that strictly parses the file and updates info on the database and add that script to crond/crontab.

Search google for "perl oracle" and come back when you have a script that does what you want so we can help you put it on crontab.
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Writing a service in Linux

Hi All: I want to write a program that runs like a service(in the background) and should start up when the system boots. It should always be running, no matter who has logged in, no matter if anybody has logged in et all. Is there any online help i could get on this topic, appreciate the help... (4 Replies)
Discussion started by: preetham
4 Replies

2. Linux

Configure SMTP service in linux 5.2

Hi All, How to configure SMTP service in linux 5.2? Please provide me the steps. Thanks Jack (5 Replies)
Discussion started by: jack00423
5 Replies

3. Linux

Important Service Linux

Hi there; I need to know all the things about services which help my Linux OS running. So what're important services of LINUX OS ? Anyone can help me... Tks all ? (1 Reply)
Discussion started by: quan0509
1 Replies

4. IP Networking

how to install ssh service in linux

hello,I am new in linux and want to know how to install ssh service in my computer so that others can connect to it,thank you! (15 Replies)
Discussion started by: hwk07
15 Replies

5. Homework & Coursework Questions

linux service script for storing uptime

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Can you please advise a script for the following: write linux service named system_up_duration .This service... (6 Replies)
Discussion started by: fed.linuxgossip
6 Replies

6. What is on Your Mind?

Linux Hosting Service Recommendation

We've been using Linode for our virtual Linux hosting services for two years now and could not be more impressed. One of our Linode nodes is located in Cedar Knolls, New Jersey which was close to the path of Hurricane Sandy. The data center teams were on top of things from the beginning... (0 Replies)
Discussion started by: Neo
0 Replies

7. Linux

How to check a particular service is running on Linux?

We are using TeamSite application. Its a content management system application. How can I check if TeamSite service is running or not using ksh onn Linux platform ? On Windows its easy, I can do services.msc and entire list will come up. How to check it in Linux ? I tried using 'ps -ef', it... (4 Replies)
Discussion started by: paramshamnani
4 Replies

8. Linux

How to configure FTPS service on Linux 7.2?

Hey Guys, I need to know , how to configure the FTPS service on Linux 7.2 OS. Please advise. Thanks (0 Replies)
Discussion started by: anil1000
0 Replies
in.talkd(1M)						  System Administration Commands					      in.talkd(1M)

NAME
in.talkd, talkd - server for talk program SYNOPSIS
in.talkd DESCRIPTION
talkd is a server used by the talk(1) program. It listens at the UDP port indicated in the ``talk'' service description; see services(4). The actual conversation takes place on a TCP connection that is established by negotiation between the two machines involved. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrcmds | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), talk(1), inetadm(1M), inetd(1M), svcadm(1M), services(4), attributes(5), smf(5) NOTES
The protocol is architecture dependent. The in.talkd service is managed by the service management facility, smf(5), under the service identifier: svc:/network/talk Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). Responsibil- ity for initiating and restarting this service is delegated to inetd(1M). Use inetadm(1M) to make configuration changes and to view config- uration information for this service. The service's status can be queried using the svcs(1) command. SunOS 5.10 31 Jul 2004 in.talkd(1M)
All times are GMT -4. The time now is 05:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy