Sponsored Content
Full Discussion: Problem with Cron tab
Top Forums Shell Programming and Scripting Problem with Cron tab Post 302070619 by d_swapneel14 on Thursday 6th of April 2006 07:24:34 AM
Old 04-06-2006
hi

make sure that if u r accessing any file from particular path.. then specify complete path while accessing that file.

like u r reading a content of file - as name test. and
path for this file is bin/sql/proc/util/test.

then use this complete path -- as crontab assument system path by default.

Cheers

Regards
Swapneel
 

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. 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

5. 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

6. Shell Programming and Scripting

Cron Tab entries

Hi All, I am required to make a crontab entry, I have the below requirement: 1. It should execute at 06:15 12:00 and 18:30 2. It should execute every day of the month for all the 30 days I am going to add the below entry in the crontab file. 15,0,30 6,12,18 * * 0-6 cd... (3 Replies)
Discussion started by: Shazin
3 Replies

7. 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

8. 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

9. 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

10. UNIX for Dummies Questions & Answers

Cron Tab Setup in Ubuntu

Hi, I need to install the crontab utility in Ubuntu. Can any one one tell me what exactly is the steps to do it? Thanks in Advanced (2 Replies)
Discussion started by: diehard
2 Replies
statfs(3)						     Library Functions Manual							 statfs(3)

Name
       statfs, - get file system statistics

Syntax
       #include <sys/types.h>
       #include <sys/param.h>
       #include <sys/mount.h>

       statfs(path, buffer)
       char *path;
       struct fs_data *buffer;

Description
       The  library  routine returns up-to-date information about a mounted file system.  The path is the path name of any file within the mounted
       file system.  The buffer is a pointer to an structure as defined in

Return Values
       Upon successful completion, a value of is returned.  If the file system is not mounted, is returned.  Otherwise, is returned and the global
       variable errno is set to indicate the error.

Diagnostics
       The library routine fails if one or more of the following are true:

       [ENOTDIR]      A component of the path prefix of path is not a directory.

       [EINVAL]       path contains a character with the high-order bit set.

       [ENAMETOOLONG] The length of a component of path exceeds 255 characters, or the length of path exceeds 1023 characters.

       [ENOENT]       The file referred to by path does not exist.

       [EACCES]       Search permission is denied for a component of the path prefix of path.

       [ELOOP]	      Too many symbolic links were encountered in translating path.

       [EFAULT]       buffer or path points to an invalid address.

       [EIO]	      An I/O error occurred while reading from the file system.

See Also
       getmnt(2), getmountent(3)

																	 statfs(3)
All times are GMT -4. The time now is 05:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy