Sponsored Content
Full Discussion: Run shell script as a daemon
Top Forums Shell Programming and Scripting Run shell script as a daemon Post 302117799 by Sammy_T on Wednesday 16th of May 2007 10:57:58 AM
Old 05-16-2007
Sure,

I would like to keep using cron, but will I be able to run a cron job say every minute at least. I was always under the impression that running a cron job in intervals under 5 minutes was not the best practice. Please advise because I could really be wrong.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

applicatoin cannot started, becos daemon did not run

hi, i had an applicatoin which is not running cos one of its daemon is not running.. i get the applicatoin to run by running the daemon first... its manual job... so quite cumbersome.. i have backups in the night, with the crontab -l entry with logs written. the logs indicated successful... (7 Replies)
Discussion started by: yls177
7 Replies

2. UNIX for Dummies Questions & Answers

I would like to know Would you run the ‘identd’ daemon on UNIX servers?

Would you run the ‘identd' daemon on UNIX servers? can you please Explain. thanks in advance! (3 Replies)
Discussion started by: xoxouu
3 Replies

3. Shell Programming and Scripting

shell script as a daemon

hi, can i run a shell script as a daemon ? the shell script looks like this : can this be run as a service ?: thanks regards shann (1 Reply)
Discussion started by: massoo
1 Replies

4. Shell Programming and Scripting

Creating a daemon to run in background

I am trying to create a service to always run and monitor a script that has a tendency to hang, we could not find what is causing it to hang so are in the process of completely reprogramming just about everything, however, that will take upto 6 months. So I need to create this to monitor the... (5 Replies)
Discussion started by: ukndoit
5 Replies

5. Shell Programming and Scripting

run this script as a daemon process

Hi, HI , I have a simple script that moves files from one folder to another folder, I have already done the open-ssh server settings and the script is working fine and is able to transfer the files from one folder to another but right now I myself execute this script by using my creditianls to... (3 Replies)
Discussion started by: nks342
3 Replies

6. Shell Programming and Scripting

script to run as a daemon

Hi, I have one query that is suppose if I have a script that pick up some files from source folder and put it into destination folder , and I want this script to run after every 1 hour, to make it configurable as per that I have options like crontab and nohup but when I test this script I have to... (2 Replies)
Discussion started by: nks342
2 Replies

7. Shell Programming and Scripting

How to make a bash or shell script run as daemon?

Say i have a simple example: root@server # cat /root/scripts/test.sh while sleep 5 do echo "how are u mate" >> /root/scripts/test.log done root@server # Instead of using rc.local to start or another script to check status, I would like make it as daemon, where i can do the following: ... (2 Replies)
Discussion started by: timmywong
2 Replies

8. Shell Programming and Scripting

How to integrate all the systemctl commands into a shell script to verify any daemon/agent service?

Hi, Can we integrate all the systemctl command into a shell script to verify any service with all the options of systemctl if service integrate with the operating system service management tools to deliver their functionality. sudo systemctl start <service_name> sudo systemctl stop... (1 Reply)
Discussion started by: Mannu2525
1 Replies

9. Shell Programming and Scripting

Shell script run in a case statement call to run a php file, also Perl

Linux System having all Perl, Python, PHP (and Ruby) installed From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file eg eg a Shell script run in a case statement call to run a php file, also Perl or/and Python file??? Like #!/usr/bin/bash .... .... case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
uusched(8)						      System Manager's Manual							uusched(8)

NAME
uusched - Schedules work for the file transport program SYNOPSIS
uusched [-u DebugLevel] [-x DebugLevel] FLAGS
Passed to the uucico daemon as the -xDebugLevel flag. The DebugLevel variable is a number from 0 to 9, with a default of 5. Higher num- bers give more detailed debugging information, which is displayed on the screen of the local system. Outputs debugging messages from the uusched daemon. The DebugLevel variable is a number from 0 to 9, with a default of 5. Higher numbers give more detailed debugging informa- tion, which is displayed on the screen of the local system. DESCRIPTION
The uusched daemon schedules work for the uucp file transport program, uucico. It schedules the transfer of files that are queued in the /usr/spool/uucp/SystemName directory. The scheduling daemon first randomizes the work and then starts the uucico daemon, which transfers the files. The uusched daemon is usually started by the uudemon.hour shell procedure, which is run periodically by the cron daemon. The uusched daemon can also be started from the command line for debugging purposes. EXAMPLES
To start the uusched daemon from the command line, enter: /usr/lib/uucp/uusched & FILES
Specifies the command path RELATED INFORMATION
Commands: uucp(1), uustat(1), Daemons: cron(8), uucico(8) uux(1) delim off uusched(8)
All times are GMT -4. The time now is 12:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy