10-14-2010
There are several things to keep in mind like using absolute paths to files since you have no environment ie. not $PATH in the crontab. You can also think about to write a small shell script and use it's name and location etc. in the crontab instead of concatenated commands. Anyway you should read this:
->
https://www.unix.com/answers-frequent...n-crontab.html
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please can someone help me. I need to set up a cron job to measure CPU usage, Disk I/O and memory usage over a period of 1 minute along with the number of users logged into the system. I also need to send it to another user besides myself every hour. Please can someone help me! Thanks. (4 Replies)
Discussion started by: gerwhelan
4 Replies
2. HP-UX
Dear Guru,
I have submitted some cronjobs that has been running for quite sometimes. However, today I counter some cronjob did not run. Can you please explain what causes this to happen. Any system setting that limit number of cronjob per minutes to be started, etc?
Thanks.
Kelly (1 Reply)
Discussion started by: hcng08
1 Replies
3. UNIX for Dummies Questions & Answers
hi
iam new at unix.iam running a cronjob,which i want to run on the first day of every month at 1AM.this is what i have specified:
00 01 1 * *
is this corect? (1 Reply)
Discussion started by: wiz83
1 Replies
4. Solaris
HI,
What is the differnece between at / con job? thanks in advance. (1 Reply)
Discussion started by: mokkan
1 Replies
5. Shell Programming and Scripting
Hi,
I'm totally new to shell scripting. I need help in my crontab script. I'm trying to read some values from user (username, log file directory, server) and then use those value to create a crontab for log rotation after some interval of time.
creating crontabs manually isn't big deal.... (11 Replies)
Discussion started by: MisterKhan
11 Replies
6. AIX
Hi,
I want to schedule a script on daily basis in morning 8:00 A.M and 5:00 P.M , how can i achieve this, i want the parameter
0 ? * * *
what will be the second parameter in my case.
Regards (1 Reply)
Discussion started by: maooah
1 Replies
7. UNIX for Dummies Questions & Answers
hi everyone I'm newbie in this forum hope I can get some help here :)
I have a command in crontab that executed every 1 minute
sometime this command need more than 1 minute to finish
the problem is, the crontab execute this command although it's not finish processing yet and causing the system... (7 Replies)
Discussion started by: 2j4h
7 Replies
8. Shell Programming and Scripting
I have a script named email_kill.sh which kills the EMAIlL engine process. See the below content:
#! /usr/bin/ksh -x
PID=`ps -eaf | grep "AREmail" | tail -1 | awk '{print $2}'`
echo "$PID"
kill -9 "$PID"
For this script to execute every hour I made a cronjob:
0... (2 Replies)
Discussion started by: nixhead
2 Replies
9. UNIX for Dummies Questions & Answers
Is the cronjob below can run only first wednesday of every month?
30 5 1-7 * 3 command
please tell me (3 Replies)
Discussion started by: Anjan1
3 Replies
10. UNIX for Beginners Questions & Answers
How to set cronjob for 48 hours.
I can set for 2 days as shown below.
* * */2 * *
It is creating confusion for 30 days & 31 days per month. (3 Replies)
Discussion started by: Nishit
3 Replies
NTFSLS(8) System Manager's Manual NTFSLS(8)
NAME
ntfsls - list directory contents on an NTFS filesystem
SYNOPSIS
ntfsls [options] device
ntfsls [ -a | --all ] [ -F | --classify ] [ -f | --force ] [ -h | --help ] [ -i | --inode ] [ -l | --long ] [ -p | --path PATH ] [ -q |
--quiet ] [ -s | --system ] [ -V | --version ] [ -v | --verbose ] [ -x | --dos ] device
DESCRIPTION
ntfsls is used to list information about the files specified by the PATH option (the root directory by default). DEVICE is the special
file corresponding to the device (e.g /dev/hdXX) or an NTFS image file.
OPTIONS
Below is a summary of all the options that ntfsls accepts. Nearly all options have two equivalent names. The short name is preceded by -
and the long name is preceded by --. Any single letter options, that don't take an argument, can be combined into a single command, e.g.
-fv is equivalent to -f -v. Long named options can be abbreviated to any unique prefix of their name.
-a, --all
Display all files. If this option is not specified file names in the POSIX namespace will not be displayed.
-F, --classify
Append indicator (one of */=@|) to entries.
-f, --force
Force execution. For example necessary to run on an NTFS partition stored in a normal file.
-h, --help
Print the usage information of ntfsls and exit.
-i, --inode
Print inode number of each file. This is the MFT reference number in NTFS terminology.
-l, --long
Use a long listing format.
-p, --path PATH
The directory whose contents to list or the file (including the path) about which to display information.
-q, --quiet
Suppress some debug/warning/error messages.
-R, --recursive
Show the contents of all directories beneath the specified directory.
-s, --system
Unless this options is specified, all files beginning with a dollar sign character will not be listed as these files are usually
system files.
-v, --verbose
Display more debug/warning/error messages.
-V, --version
Print the version number of ntfsls and exit.
-x, --dos
Display short file names, i.e. files in the DOS namespace, instead of long file names, i.e. files in the WIN32 namespace.
BUGS
There are no known problems with ntfsls. If you find a bug please send an email describing the problem to the development team:
linux-ntfs-dev@lists.sourceforge.net
AUTHORS
This version of ntfsls was written by Lode Leroy, Anton Altaparmakov, Richard Russon, Carmelo Kintana and Giang Nguyen.
AVAILABILITY
ntfsls is part of the ntfsprogs package and is available from:
http://www.linux-ntfs.org/content/view/19/37
The manual pages are available online at:
http://man.linux-ntfs.org/
SEE ALSO
ntfsprogs(8)
ntfsprogs 1.13.1 November 2005 NTFSLS(8)