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)
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)
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)
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)
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)
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)
Hi I am very new to linux. I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.
All I have is this...
*/15 * * * * ls -l | wc -l | | mail -s "This is just a test"
I would... (2 Replies)
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)
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
LEARN ABOUT DEBIAN
sa2
SA2(8) Linux User's Manual SA2(8)NAME
sa2 - Write a daily report in the /var/log/sysstat directory.
SYNOPSIS
/usr/lib/sysstat/sa2
DESCRIPTION
The sa2 command is a shell procedure variant of the sar command which writes a daily report in the /var/log/sysstat/sardd file, where the
dd parameter indicates the current day. The sa2 command handles all of the flags and parameters of the sar command.
The sa2 command is designed to be started automatically by the cron command.
EXAMPLES
To run the sa2 command daily, place the following entry in your root or adm crontab file:
5 19 * * 1-5 /usr/lib/sysstat/sa2 -A &
This will generate a daily report called /var/log/sysstat/sardd It will also remove reports more than one week old.
Debian note
The Debian sysstat package has already placed such an entry in your system crontab. Please refer to the /usr/share/doc/sys-
stat/README.Debian file for details.
FILES
/var/log/sysstat/sardd
Indicate the daily report file, where the dd parameter is a number representing the day of the month.
AUTHOR
Sebastien Godard (sysstat <at> orange.fr)
SEE ALSO sar(1), sadc(8), sa1(8), sadf(1)
http://pagesperso-orange.fr/sebastien.godard/
Linux AUGUST 2010 SA2(8)