can someone please check my answers for the crontabs I am making
1. how would I set up a crontab tab executes every 2 minutes each and every day of the week?
answer: 2 * * * * /path/to/file.pl <-- is this correct?
2. how would I set up a crontab that executes every 24 hours at 2am?... (6 Replies)
Hi,
i want to find certain files which are more than <n> minutes old,i have the command to find the files say <n> days old(as below) but not in terms of minutes.
find . -name "14*.000" -type f -mtime +1
Is there any way to find this?
Regards,
Cherry (3 Replies)
I need to be able to do the following:
Find files in multiple directories that are 6 hours older than the current time?
I am using KSH
I tried mmtime but it was not a valid option
Any help would be great. Thank you! (2 Replies)
Hi
I need to run a script every five minutes and it should run between 07-15 hours all days.
How i can achieve this...
i tried like this
*/5 07-15 * * * /scripts/CreateFtpData.sh
It throws an error... (1 Reply)
Hi
i want to print the time of a process in hours only..(or) in minutes only.Is there anyway to print the process such like that
when i give the commnand like following
#ps -eo pid,time
PID TIME
412 01:49:32
481 00:03
it shows in HH:MM:SS format:
Could anyone... (1 Reply)
I need a script to find files older than 8 hours...
I know i can use mmin but the same is not working...the same only support mtime...
This is the script i created..but the same is only giving 1 hour old..as I have given dt_H as 1 only...but if i give 8..it can go in -(negative)..how to get the... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here is the question:
Make a list of files in your home directory that were changed less that 10 hours ago,... (3 Replies)
Hi, please help with below time conversion to minutes.
one column values:
2 minutes 16 seconds 420 msec
43 seconds 750 msec
0 days 3 hours 29 minutes 58 seconds 480 msec
11 seconds 150 msec
I need output in minutes(total elapsed time in minutes) (2 Replies)
Discussion started by: ramu.badugula
2 Replies
LEARN ABOUT CENTOS
hal-find-by-capability
HAL-FIND-BY-CAPABILITY(1) General Commands Manual HAL-FIND-BY-CAPABILITY(1)NAME
hal-find-by-capability - find device objects by capability matching
SYNOPSIS
hal-find-by-capability [options]
DESCRIPTION
hal-get-capability finds device object in the HAL device database by looking at device capabilities. For more information about both the
big picture and specific HAL properties, refer to the HAL spec which can be found in /usr/share/doc/hal-doc/spec/hal-spec.html depending on
the distribution.
OPTIONS
The following options are supported:
--capability
The name of the capability.
--verbose
Verbose output.
--help Print out usage.
--version
Print the version.
RETURN VALUE
If devices matching the given capability are found each UDI (Unique Device Identifier) is printed on stdout and the program exits with exit
code 0. If no devices are found or an error occured, the program exits with a non-zero exit code.
BUGS
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to
subscribe.
SEE ALSO hald(8), lshal(1), hal-set-property(1), hal-get-property(1), hal-find-by-property(1), dbus-send(1)AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others.
HAL-FIND-BY-CAPABILITY(1)