9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to monitor a log file using tail -f command and search for a specific string on the most recent entry from the file. If the search string matches with the most recent or last line from the file, I want send an email to the people with the message.
tail -f service.log|tail -n 1
... (5 Replies)
Discussion started by: svajhala
5 Replies
2. Shell Programming and Scripting
Hi there
I am trying to write a script where I will need to look for a specific word in the log file and I am aware this can be done by grep for example.
As there will be multiple entries for this I want to grep the last one to enter the log... how would I go about this - would I have to use... (5 Replies)
Discussion started by: simpsa27
5 Replies
3. Solaris
The latest crontab entry is disappearing time and again on acceptance and production environment.
the same entry gets deleted.
any pointers to what might be causing this issue? (1 Reply)
Discussion started by: bluenavi
1 Replies
4. Shell Programming and Scripting
Hi,
i want to schedule a cron jobs. its should execute daily at 00:00 ,but in saturday the cron should execute at 23:00 . plz help. i want to schedule it in a single step. (2 Replies)
Discussion started by: chakkaravarthy
2 Replies
5. UNIX for Dummies Questions & Answers
What should be the crontab entry for a script:
to run at 3:00 AM EST Sun, Mon, Tue, Wed, Thu, Fri (3 Replies)
Discussion started by: proactiveaditya
3 Replies
6. Solaris
Hi,
i need to setup a cronjob that has will execute iostat command from morning to evening time.
for instance the timing has will be like this.
8:00 A.M -- 6:00P.M
how to define this entry in crontab
Regards (3 Replies)
Discussion started by: jaweedak
3 Replies
7. Shell Programming and Scripting
Hi Everyone , have a nice day
given below is the line i have added in crontab
* * * * * /Rauf/script2.sh
intended to run this script after every minute , when i run this script manually it runs fine and produces output , but after adding it to crontab ( like given above ) , it doesnt work
... (5 Replies)
Discussion started by: Dastard
5 Replies
8. UNIX for Advanced & Expert Users
Sometimes cron really upsets me and I cant figure out these types of wierd dates, but how do I get cron to run something on every other sunday? I am running Solaris 8.
-S (4 Replies)
Discussion started by: Sowser
4 Replies
9. UNIX for Dummies Questions & Answers
hi all
how to schedule a cron job running on last day of every third month at
12 midnight
will the following work
0 0 30,31 3,6,9,12 * <required file>
thanks (3 Replies)
Discussion started by: matrixmadhan
3 Replies