06-04-2009
Script to run every 5 minutes
Hello all,
I want to run a script every 5 minutes. How to accomplish this task?
Thanks in advance
Mrudula
10 More Discussions You Might Find Interesting
1. Solaris
Hello all,
I want to run a script every 3 minutes in os level and to send mail.
I scheduled in crontab as
3 * * * * /mnt1/monitorscripts/testdbstart.sh
I got mail every one hour and I confirmed that the script is running every 1 hour which doesn't meet my requirment.
Where I am... (4 Replies)
Discussion started by: prashanth_gs
4 Replies
2. Shell Programming and Scripting
Hi all,
I want to monitoring my interface every 6 hours where i want to run snoop command to capture all packet through the interface, so i want running snoop then snoop will run for 5 minutes after that snoop stop then will start again after 6 hours than run for 5 minutes again.
thereis any... (9 Replies)
Discussion started by: tindasz
9 Replies
3. Shell Programming and Scripting
Hi,
Can someone help me in running a cronjob everyday between 7 and 8 pm with the time interval of 5 minutes in between to repeat that script. The script is so small and I need that to run daily between this time. Please if possible provide me the syntax for this logic.
Thanks. (4 Replies)
Discussion started by: cya
4 Replies
4. UNIX for Dummies Questions & Answers
I want to run my shell script for every 15 minutes starting from 12:20AM. I am passing parameter GA to shell script.
Does this work? Any one please comment on this?
20 0-23/15 * * * xyz.sh 'GA' > xyz.log 2>&1 (9 Replies)
Discussion started by: govindts
9 Replies
5. Shell Programming and Scripting
Hi all!!
Im using ksh and my OS is Linux.
I want to run a script for ten minutes, starting from my current system time.
How to acheive this?
Any help appreciated.
Thanks in advance (5 Replies)
Discussion started by: Jayaraman
5 Replies
6. Shell Programming and Scripting
Hi Friends,
I have a requirement to run the cronjob for every 10 minutes from 2:00 AM to 6:00 AM. Does the below code works? If not, please advise.
* * * * * command to be executed
┬ ┬ ┬ ┬ ┬
│ │ │ │ │
│ │ │ │ │
│ │ │ │ └---------------------------------- day of week (0 - 6) (0 is... (5 Replies)
Discussion started by: srikanthbiradar
5 Replies
7. Shell Programming and Scripting
I would like to modify the below sleeper script to run every 30 minutes at the 29th and 59th minute of the hour.
The below script is designed to run every 10 minutes and send an argument to the other script at a particular hour but i want it to run every 30 mins at the 29th and 59th minute of... (6 Replies)
Discussion started by: senormarquez
6 Replies
8. Shell Programming and Scripting
OS : Red Hat Linux 6.4
Shell : Bash
We have a file called status.txt which will have only 1 line. The content will be the string "Processing" for most of the day.
# cat status.txt
Processing
#I want to write a shell script (notify.sh) which will be executing a grep every 10 minutes .
... (7 Replies)
Discussion started by: kraljic
7 Replies
9. Shell Programming and Scripting
Hello Gurus,
I have a requirement to run a job from cron only for 30 minutes duration daily twice at 8.35 am and 20.35 pm
Can you please suggest how to schedule the job?
Thanks-
Pokhraj (5 Replies)
Discussion started by: pokhraj_d
5 Replies
10. Shell Programming and Scripting
Hello Gurus,
I want to schedule a cron job which will run every 2 minutes starts at 11:25 AM and 3:25 AM daily.
Can you please suggest as how to schedule the job.
Thanks-
Pokhraj Das (2 Replies)
Discussion started by: pokhraj_d
2 Replies
LEARN ABOUT CENTOS
tapset::task
tapset::task(3stap) tapset::task(3stap)
NAME
tapset::task - systemtap task tapset
DESCRIPTION
task_current
The current task_struct of the current task
See function::task_current(3stap)
for details.
task_parent
The task_struct of the parent task
See function::task_parent(3stap)
for details.
task_state
The state of the task
See function::task_state(3stap)
for details.
task_execname
The name of the task
See function::task_execname(3stap)
for details.
task_pid
The process identifier of the task
See function::task_pid(3stap)
for details.
pid2task
The task_struct of the given process identifier
See function::pid2task(3stap)
for details.
pid2execname
The name of the given process identifier
See function::pid2execname(3stap)
for details.
task_tid
The thread identifier of the task
See function::task_tid(3stap)
for details.
task_gid
The group identifier of the task
See function::task_gid(3stap)
for details.
task_egid
The effective group identifier of the task
See function::task_egid(3stap)
for details.
task_uid
The user identifier of the task
See function::task_uid(3stap)
for details.
task_euid
The effective user identifier of the task
See function::task_euid(3stap)
for details.
task_prio
The priority value of the task
See function::task_prio(3stap)
for details.
task_nice
The nice value of the task
See function::task_nice(3stap)
for details.
task_cpu
The scheduled cpu of the task
See function::task_cpu(3stap)
for details.
task_open_file_handles
The number of open files of the task
See function::task_open_file_handles(3stap)
for details.
task_max_file_handles
The max number of open files for the task
See function::task_max_file_handles(3stap)
for details.
SEE ALSO
function::task_current(3stap), function::task_parent(3stap), function::task_state(3stap), function::task_execname(3stap),
function::task_pid(3stap), function::pid2task(3stap), function::pid2execname(3stap), function::task_tid(3stap),
function::task_gid(3stap), function::task_egid(3stap), function::task_uid(3stap), function::task_euid(3stap),
function::task_prio(3stap), function::task_nice(3stap), function::task_cpu(3stap), function::task_open_file_handles(3stap),
function::task_max_file_handles(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::task(3stap)