Sponsored Content
Full Discussion: Cron Tab entries
Top Forums Shell Programming and Scripting Cron Tab entries Post 302357513 by thegeek on Wednesday 30th of September 2009 04:06:59 AM
Old 09-30-2009
1. it will execute at 0,15,30 of all the three hours.

2. if you dont want do mess up, test before making it live.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

cron tab commands

Hello: If I want to run a crontab every hour between 9 am to 9pm, will this work 00 09-19 * * * /.../.../../program.sh If the above does not work, what should it be ?? Thanks, ST2000 (4 Replies)
Discussion started by: ST2000
4 Replies

2. UNIX for Dummies Questions & Answers

Cron Tab problem

I have a script that is being called from cron job . This script further call 3 scripts which runs in the background . main script ( called from cron ) { script1 & script2 & script3 & } How to know when the main script is over ?? (3 Replies)
Discussion started by: rahul123_libra
3 Replies

3. Shell Programming and Scripting

Cron tab help need

need help to write crontab my crontabe file every minute to rsh and check that it is running or not i want to change it on every 1o minute please help me example of my crontab #check if system is running * * * * * rsh metal3 /users/test/run.server i want to check that every 10... (2 Replies)
Discussion started by: deepa20
2 Replies

4. Shell Programming and Scripting

Problem with Cron tab

I have a script for pinging the switches and giving me the report:- #!/usr/local/bin/perl #!/bin/ksh #!/usr/bin #etc `source /export/home/chinnigd/.profile`; @names = `cat switches|cut -f1 -d' '`; @ip = `cat switches|cut -f2 -d' '`; $num = @names; $re ="Empty"; $i = 0; $flag = 0; while... (3 Replies)
Discussion started by: chinnigd
3 Replies

5. Solaris

cron tab setting

hi guys , i need some help i want to set cron job for every sunday , of each month so any body plz help or this proble :confused: (1 Reply)
Discussion started by: Kbharat20
1 Replies

6. UNIX for Dummies Questions & Answers

Cron Tab help

Hi All I have a requirement to schedule my script through cron tab. I have 2 scripts to schedule. Case1:My script should run every day in the server.It should be triggered in every 2 mins interval.i.e suppose i implemented the script now my script should run every 2 mins.How can i... (6 Replies)
Discussion started by: dr46014
6 Replies

7. Shell Programming and Scripting

cron(tab) with date in filename

I wan't to get a file every hour. Last week there was a crash and now i wan't to backup the most important file. so far i have: #!/bin/sh # date=$(date+"%F") filename = "/mnt/backup/$date.txt" wget http://www.__-=-__.nl/alles/backup.txt -O $filename As you may understand this isn't... (1 Reply)
Discussion started by: dadoupy
1 Replies

8. Shell Programming and Scripting

Cron tab query

Hi In my Unix server more than 500 cron jobs are scheduled daily and weekly basics. Now,I would like to know only list of JOBs,which are running only on 14th of every month? How can i find only which are all jobs will be scheduled only on 14th. Please tell me the script. (4 Replies)
Discussion started by: koti_rama
4 Replies

9. Shell Programming and Scripting

Cron tab

Hi, We have a couple of jobs are scheduled in CRONTAB. Now. I want generate a report for each job how many times ran successful and failed in a 1 month of time period. is there any way to find in CRONTAB. Please advise on this. (1 Reply)
Discussion started by: koti_rama
1 Replies

10. Shell Programming and Scripting

problem with the cron tab.

Hi, I have a cron tab file , which executes a particular script in a scheduled time and creates a output file. Since the cron tab file was created by the root , there is no access permission( for the output files) for other users irrespective of the default directory permission on which the... (5 Replies)
Discussion started by: BalajiUthira
5 Replies
nischttl(1)							   User Commands						       nischttl(1)

NAME
nischttl - change the time to live value of a NIS+ object SYNOPSIS
nischttl [-AfLP] time name... DESCRIPTION
nischttl changes the time to live value (ttl) of the NIS+ objects or entries specified by name to time. Entries are specified using indexed names (see nismatch(1)). The time to live value is used by object caches to expire objects within their cache. When an object is read into the cache, this value is added to the current time in seconds yielding the time when the cached object would expire. The object may be returned from the cache until the current time is earlier than the calculated expiration time. When the expiration time has been reached, the object will be flushed from the cache. The time to live time may be specified in seconds or in days, hours, minutes, seconds format. The latter format uses a suffix letter of d, h, m, or s to identify the units of time. See the examples below for usage. The command will fail if the master NIS+ server is not running. Setting a high ttl value allows objects to stay persistent in caches for a longer period of time and can improve performance. However, when an object changes, in the worst case, the number of seconds in this attribute must pass before that change is visible to all clients. Setting a ttl value of 0 means that the object should not be cached at all. A high ttl value is a week, a low value is less than a minute. Password entries should have ttl values of about 12 hours (easily allows one password change per day), entries in the RPC table can have ttl values of several weeks (this information is effectively unchanging). Only directory and group objects are cached in this implementation. OPTIONS
The following options are supported: -A Modify all tables in the concatenation path that match the search criterion specified in name. This option implies the -P switch. -f Force the operation and fail silently if it does not succeed. -L Follow links and change the time to live of the linked object or entries rather than the time to live of the link itself. -P Follow the concatenation path within a named table. This option only makes sense when either name is an indexed name or the -L switch is also specified and the named object is a link pointing to entries. EXAMPLES
Example 1: Changing the ttl of an Object The following example shows how to change the ttl of an object using the seconds format and the days, hours, minutes, seconds format. The ttl of the second object is set to 1 day and 12 hours. example% nischttl 184000 object example% nischttl 1d12h object Example 2: Changing the ttl for a password Entry This example shows how to change the ttl for a password entry. example% nischttl 1h30m '[uid=99],passwd.org_dir' Example 3: Changing the ttl of Entries Pointed to by a Link The next two examples change the ttl of the object or entries pointed to by a link, and the ttl of all entries in the hobbies table. example% nischttl -L 12h linkname example% nischttl 3600 '[],hobbies' ENVIRONMENT VARIABLES
NIS_PATH If this variable is set, and the NIS+ name is not fully qualified, each directory specified will be searched until the object is found. See nisdefaults(1). EXIT STATUS
The following exit values are returned: 0 Successful operation. 1 Operation failed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
nis+(1), nischgrp(1), nischmod(1), nischown(1), nisdefaults(1), nismatch(1), nis_objects(3NSL), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 10 Dec 2001 nischttl(1)
All times are GMT -4. The time now is 07:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy