07-25-2002
HELP - Need help with chron job on solaris
I need to write a chron job that runs at midnight local time stores collected data, clears counters
collects the output of sho atm counters and send that data to a collection file
send command clear counters atm 5/0 pvc all -no confirm
disable the enable mode
close out of redback
store file with time/date stamp
parce the newly gathered file into xcell.xls spread sheet and mail out the report as an automated function
build a directory to store data files for x amount of time
I need another chron job that will go in at 06:00 and just clear counters and logout that will allow 1st job to collect stats from 06:00am to 23:59pm daily
I'm new to Unix and was hoping someone could help?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am trying very hard to get certified in Solaris 8. I need some sample question tests.
Dose anybody work in the Dallas Plano area that has a job doing Unix.
I need some help in both areas.
Thanks
Bobby:confused: (2 Replies)
Discussion started by: Youngadmin
2 Replies
2. Shell Programming and Scripting
Hi,
Thanks in advance.
i need to kill a unix background running job after that job process completes.
i can kill a job by giving the following unix command
kill -9 processid
how to kill the job after the current process run gets completed ?
Appreciate your valuable help.
... (1 Reply)
Discussion started by: dtazv
1 Replies
3. Solaris
Hi all,
Our servers were on Sun Solaris 8.1, anytime a cron job executed the user ran that job received a email of job's output. I think that the default and Administrator did not setup anything.
However, when we upgraded the OS to Sun Solaris ver.10, the cron job is no longer send a email... (2 Replies)
Discussion started by: cmnguyen
2 Replies
4. Solaris
Hi,
I want to run a crontab job on solaris 10.5. I have configured the crontab accordingly
10 * * * * /scripts/dbalter.pl >> /scripts/cronout.txt
However this does not work .Then I go to /var/mail/root and find an error in the output:
From root@myserver Wed Feb 4 17:02:00 2009... (1 Reply)
Discussion started by: sonu2die4
1 Replies
5. Solaris
Hi I am new to solaris zones...........
I created a zone in solaris and i am trying to add a cron entry to that by
crontab -e but when I enter that command it is just showing 253 number.....
But when I enter crontab -l there are some entries my question is how to add cron entry??
when... (3 Replies)
Discussion started by: vijaysachin
3 Replies
6. Advertise with Us
Hi Guys...
Already i am Completed RHCE , then i planned one more certification, So i need ur help that, Which one is better job opportunity "Hp Unix" or "Sun solaris".
Thanks
Raghu.V (1 Reply)
Discussion started by: raghu_linuxsurf
1 Replies
7. Shell Programming and Scripting
Hi Experts,
I need a script advice to schedule 12 jobs ( SAS Codes execute back ground ).
Algorithem:
1. Script checks first job.
2. Finds first job is done; invoke second job.
3. finds second job is done; invoke third job.
..
Request you to please assist. (3 Replies)
Discussion started by: Jerald Nathan
3 Replies
8. Solaris
How to setup a cron job to run every 45 minutes in Solaris 5.10 (9 Replies)
Discussion started by: reyazan
9 Replies
9. Solaris
Hi,
How do we stop default cron job emails bein generated in Solaris 10?
All our cron entries are ending with /dev/null 2>&1 but still emails are being generated.
And all these emails are nuisance, as they are also get relayed to our local network sendmail MTA server (for system email... (14 Replies)
Discussion started by: hasan.kamali
14 Replies