Sponsored Content
Full Discussion: Cron job is not running
Operating Systems Solaris Cron job is not running Post 302597360 by itkamaraj on Friday 10th of February 2012 05:02:40 AM
Old 02-10-2012
use the absolute path for the files

Code:
mv /absolute/path/local0.log local0.log.$dt1
mv /absolute/path/local1.log local1.log.$dt1
mv /absolute/path/local2.log local2.log.$dt1

This User Gave Thanks to itkamaraj For This Post:
 

10 More Discussions You Might Find Interesting

1. HP-UX

Cron Job Not Running

Hi, I have a cron schedule like this 04,16,28,40,52 * * * * /nag/startProcessABatch (unix script) i want to add new lines in this file (like Logging), i just copy this file into a /tmp folder (for backup copy), and i have edited this file (added few lines of code for logging). ... (1 Reply)
Discussion started by: nag_sundaram
1 Replies

2. UNIX for Advanced & Expert Users

cron job is not running

hi, i have the following line in the crontab 15 5 * * 6 /home/adw/BCE_ADW.pl The problem is the cron job is not getting started automatically. But this was working til last week. now it is not working. what could be the problem. Any idea? (3 Replies)
Discussion started by: Suguna
3 Replies

3. UNIX for Dummies Questions & Answers

cron job not running to completion

am running a cron job to do a backup of all user files. the script runs properly in the terminal but only backups about 20% of the files when run by cron. the Linux system is running BASH as far as I can tell. the symbols $FILE and $DIRECTORY are defined properly and the following is the... (1 Reply)
Discussion started by: novice633
1 Replies

4. UNIX for Dummies Questions & Answers

Cron job not running

Hi All, I am editing crontab using -e option to add a new job Below is the line 30 * * * * scriptpath This job is not executing every thirty minutes. I have checked, cron daemon is running. What did I miss? Can some one help? I am using cron shell..ksh (7 Replies)
Discussion started by: yabhi_22
7 Replies

5. Shell Programming and Scripting

running Cron job in Plesk

I have a script to delete unwanted cookies from some Curl jobs we are doing find /tmp -name 'CURLCOOKIE*' -print0 | xargs -0 rm this works great when I am logged on as root in the shell, now I have to put it into a cron job in Plesk. When I do that it does not work. I think the directory... (0 Replies)
Discussion started by: vaene
0 Replies

6. UNIX for Dummies Questions & Answers

Problem running a cron job

I have created a cron job for the vtiger workflow to execute the shell file named com_vtiger_workflow.sh to run the workflow. I've created the following line in crotab -e : 00 13 * * * /var/www/html/prashant/cron/modules/com_vtiger_workflow/com_vtiger_tiger_workflow.sh | mail -s 'Check... (2 Replies)
Discussion started by: anaigini45
2 Replies

7. Shell Programming and Scripting

Cron job running problem

Hi Guys, I am trying to run a script through contab. The script can only be executed once user logs in as su - oracle. I have tested the script other then cronjob and it executes successfully, more over the paths used in the script are absolute paths. Crontab entries are as as below.... (3 Replies)
Discussion started by: Asteroid
3 Replies

8. UNIX for Dummies Questions & Answers

Cron is running,but my job is not triggering.

Hi, I have scheduled a job previously and was running fine,but due to some issue i have commented it.Now the issue was solved and i have scheduled as below in crontab. 30 2 * * * /u01/srcdata/CSA/holding/common/script/QPLR_RegValrao.sh PROD Cron is running,but my job is not triggering. ... (1 Reply)
Discussion started by: mvennakula
1 Replies

9. Solaris

Cron job running even after cron is removed

Hi , I have removed a cron for particular user , but cron job seems to be running even after the cron entry is removed. The purpose of the cron was to sendmail to user ( it uses mailx utility ) I have restarted cron and sendmail service still user is getting mail alerts from the cron job. And... (4 Replies)
Discussion started by: chidori
4 Replies

10. Shell Programming and Scripting

CRON job still running?

Hi All, I am writing a script that will eventually be executed by a cron job every 15 minutes. I want to make sure that my logic/script doesn't get executed if a previous job is still running. What would be the best way to handle that scenario? I was thinking to make my script create a temporary... (1 Reply)
Discussion started by: rdogadin
1 Replies
nfslog.conf(4)						     Kernel Interfaces Manual						    nfslog.conf(4)

NAME
nfslog.conf - NFS server logging configuration file SYNOPSIS
DESCRIPTION
The file specifies the location of the NFS server logs, as well as the location of the private work files used by the NFS server and nfs- logd(1M) daemon during logging. Each entry in the file consists of a mandatory tag identifier and one or more parameter identifiers. The parameter identifier specifies the value or location of the specific parameter. For instance, the parameter identifier specifies the location of the NFS server activity log. The mandatory tag identifier serves as an index into the file to identify the various parameters to be used. At export time, the share_nfs(1M) command specifies the NFS server logging parameters to use by associating a tag from the file to the exported file system. It is legal for more than one file system to be exported using the same logging tag identifier. A "global" tag identifier is included in It specifies the default set of values to be used during logging. If no tag identifier is speci- fied at export time, then the values in the "global" entry are used. The "global" values can be modified by updating this entry in Each entry in the file must contain a mandatory tag identifier and at least one parameter/value pair. If a parameter is not specified in a given entry, the global value of the parameter will be used. The exact entry syntax follows: The entries are described here. Specifies the directory where the log and work files will be placed. This path is prepended to all relative paths specified in other parameters. Specifies the location of the user-readable log file. The log will be located in the unless path is an absolute path. Specifies the location of the private file handle to path mapping database files. These database files are for the private use of the NFS server kernel module and the daemon. These files will be located in the unless path is an absolute path. These database files are permanently stored in the file system. Consult nfslogd(1M) for information on pruning the database files. Specifies the location of the private work buffer file used by the NFS server kernel module to record raw RPC information. This file is later processed by the daemon, which in turn generates the user-readable log file. This work buffer file will be located in the unless path is an absolute path. Sets the format of the user-readable log file. If not specified, the format is used. The format is compatible with log files generated by the Washington University The for- mat provides a more detailed log, which includes directory modification operations not included in the basic format, such as and Note that the format is not compatible with Washington University's log format. WARNINGS
Log files, work files, and file handle to path mapping database can become very large. Be aware of appropriate placement within the file system name space. See nfslogd(1M) for information on pruning the database files and cycling logs. EXAMPLES
Example 1: Using the global Tag The tag may be modified so that all exported file systems that enabled logging use a common set of parameters that conform to the specific needs of the user. These values are used until a specific tag identifier overrides them. Example 2: Overriding the Global defaultdir and logformat Because log files can become very large, it may be desirable to store the log and work files in separate file systems. This can be easily accomplished by simply specifying a different for every file system exported by means of a unique tag: File systems shared with the engineering identifier will have their log and work files located in For instance, the log file will be located at Note that the engineering log file will be stored in the extended format, while the rest of the log files will remain in the basic format. Any of the parameters can be updated in a tag identifier, which overrides the global settings. SEE ALSO
nfslogd(1M), share_nfs(1M). nfslog.conf(4)
All times are GMT -4. The time now is 08:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy