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
nameserv::common(n)					       Name service facility					       nameserv::common(n)

__________________________________________________________________________________________________________________________________________________

NAME
nameserv::common - Name service facility, shared definitions SYNOPSIS
package require Tcl 8 package require nameserv::common ?0.1? ::nameserv::common::port _________________________________________________________________ DESCRIPTION
Please read Name service facility, introduction first. This package is internal and of no interest to users. It provides the commands of the name service facility which are shared by the client and server implemented by the packages nameserv::server and nameserv (the client). This service is built in top of and for the package comm. It has nothing to do with the Internet's Domain Name System. If the reader is looking for a package dealing with that please see Tcllib's packages dns and resolv. API
The package exports a single command, as specified below: ::nameserv::common::port The result returned by the command is the id of the default TCP/IP port a nameservice server will listen on, and a name service client will try to connect to. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category nameserv of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. SEE ALSO
nameserv::client(n), nameserv::server(n) KEYWORDS
client, name service, server COPYRIGHT
Copyright (c) 2007-2008 Andreas Kupries <andreas_kupries@users.sourceforge.net> nns 0.1 nameserv::common(n)
All times are GMT -4. The time now is 10:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy