Help required in crontab


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Help required in crontab
# 8  
Old 02-24-2009
I don't know a way around - maybe you are better off telling your boss so he can take care of that officially. Maybe it's just an entry to cron.deny|cron.allow.
# 9  
Old 02-24-2009
Help required in crontab

Quote:
Originally Posted by frijofranco
If you do not have any kind of permission the last method is to run your script as a daemon process... but use it as a last measure..

Hi,

How can I run my script as a daemon process??
# 10  
Old 02-24-2009
By using an infinite loop in a subshell () which is started as a background process (&). But that will require quite some signal and error checking to ensure a clean exit when requested and avoid the script going rampage on your system. Probably even more fugly than the repeated at calls.
# 11  
Old 02-24-2009
Well you already have two suggestions of 1) running it as daemon 2) adding itself to "at" queue (man at).

Why don't you try one of these and post the code?
# 12  
Old 02-24-2009
Help required in crontab

Quote:
Originally Posted by rikxik
Well you already have two suggestions of 1) running it as daemon 2) adding itself to "at" queue (man at).

Why don't you try one of these and post the code?

Hi, I don't really know how to use it as a daemon process or by using at and I am not sure about how to implement the logic behind it.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

help required

Hi Everyone, I need a little help in manipulating a file. This is what I need. I need to move each line barring the top 3 lines, to the right by a 8 (or some specified number ) of places. Example BEGIN: Vertices Edges Archs 1443 4042 862 4821 254 1177I want to move the... (3 Replies)
Discussion started by: scigeek
3 Replies

2. UNIX for Dummies Questions & Answers

crontab scheduled details required

Hi, I have the below job scheduled in crontab. Can you please tell me at what interval this job is scheduled? Where is the name of the job defined here? I will definitely go through the UNIX documentation a little later, for the time being, please provide me few details on this. Thank you. ... (0 Replies)
Discussion started by: Dev_Dev
0 Replies

3. UNIX Desktop Questions & Answers

Crontab links required

Hi, I would like to master CRONTAB jobs in UNIX, can you please share more useful links and examples related to this, thank you. (1 Reply)
Discussion started by: Dev_Dev
1 Replies

4. UNIX for Dummies Questions & Answers

Crontab help required

How would i run /usr/local/sbin/copyfile.sh at 8 p.m today. What should i write in crontab -e ? (4 Replies)
Discussion started by: pinga123
4 Replies

5. Shell Programming and Scripting

Getting required fields from a test file in required fromat in unix

My data is something like shown below. date1 date2 aaa bbbb ccccc date3 date4 dddd eeeeeee ffffffffff ggggg hh I want the output like this date1date2 aaa eeeeee I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Discussion started by: rdhanek
7 Replies

6. Shell Programming and Scripting

Please Help required.

Hello guys I am new to awk programming. I need the below required script which can perform the following. I have a file containing below data. SNA NoCRD = 131 SNA OBarr = 3 SNC NoCRD = 76 SNC OBarr = 1 SND NoCRD = 155 SND OBarr = 5 SNE NoCRD = 100 SNE OBarr = 1 SNF NoCRD = 131 SNF... (2 Replies)
Discussion started by: jurial
2 Replies

7. Linux

Help Required

Hi, please suggest me the possible reasons for application to get hang ???? Thanks and Regards Anand P (1 Reply)
Discussion started by: Anand Prakash
1 Replies

8. UNIX for Dummies Questions & Answers

help required

Hi All, Please help me in the following query need a command to get all the files in the present directory except the next day file format :: abc_<DD>.log $ls -l abc_10.log abc_10.log abc_11.log Now i need the output in abc.list which should contains $more abc.list abc_10.log... (5 Replies)
Discussion started by: thaduka
5 Replies

9. UNIX for Dummies Questions & Answers

help required

I am new to unix, and have just taken over maintenance/admin of a unix system. I am trying to restore a full backup of one of the consoles on the system. The tape backup device appears to be recognized as it is an option to restore from. After choosing the tape backup and loading the tape, a... (3 Replies)
Discussion started by: ecoli69
3 Replies
Login or Register to Ask a Question