10-28-2008
Linux Service
Hi,
I want to write a service like windows service for my rhel4u5 server.And this service every day at 4:00 am connect a ftp server and download file then parse information at txt file then insert or update info at my database server(oracle).and this service can be stopped or paused by user.And which program(perl,c,c++,shell script,java) can be used this service.And what is the key word at google for searching code or doc.
Thank you
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
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
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
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?
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
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
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
LEARN ABOUT OPENSOLARIS
print-service
print-service(1M) System Administration Commands print-service(1M)
NAME
print-service - select, report, import, export active print service on a system
SYNOPSIS
print-service [-s service [-m] | -q | -e file | -i file]
DESCRIPTION
The print-service utility manages print service selection, as well as export and import of basic print queue configuration.
Only a user root privileges or with the Printer Management profile can change the active print service or import print queue configuration.
OPTIONS
The following options are supported:
-s service
Select the active print service for on a host. service can be one of lp or cups.
-m
Migrate print queue configuration during print service selection.
-q
Report the active print service on a host.
-e file
Export basic print queue configuration to a file.
-i file
Import basic print queue configuration from a file.
EXAMPLES
Example 1 Selecting a Print Service
The following command selects the CUPS print service as the active print service on a host.
# print-service -s cups
Example 2 Reporting the Active Print Service
The following command reports the active print service on a host.
# print-service -q
Example 3 Exporting a Print Queue Configuration
The following command exports the print queue configuration from the active print service.
# print-service -e /tmp/queues
Example 4 Importing a Print Queue Configuration
The following command imports the print queue configuration to the active print service.
# print-service -i /tmp/queues
EXIT STATUS
0
Successful completion.
non-zero
An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpcu |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
intro(1), attributes(5)
NOTES
The print queue configuration saved and restored during export, import, and migration is limited to queue name and device name. It is
likely that further configuration changes will be required before imported or migrated print queues become usable.
SunOS 5.11 18 Mar 2008 print-service(1M)