-
- Novice
- Posts: 4
- Liked: never
- Joined: Aug 27, 2015 9:26 am
- Full Name: jehad Twati
- Contact:
powershell script to show the jobs thats runs long Time
Hello,
I need a PowerShell script to show the jobs that's runs long time or that ran more than 24 hours ago , and send Email noteafction .
Does someone have any ideas.
Thanks
I need a PowerShell script to show the jobs that's runs long time or that ran more than 24 hours ago , and send Email noteafction .
Does someone have any ideas.
Thanks
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: powershell script to show the jobs thats runs long Time
Before we stick to scripting, can I ask you a question? Don't you happen to have Veeam ONE deployed? I'm wondering because it has the alarm you're looking for (it's called "job duration", if I'm not mistaken). Thanks.
-
- Novice
- Posts: 4
- Liked: never
- Joined: Aug 27, 2015 9:26 am
- Full Name: jehad Twati
- Contact:
I need powershell script to show the jobs thats runs long Ti
Thank you for your reply, Yes We have veeam one installed , But we need script for after work or weekend for example at night.
By the way, Veeam B&R installed is ver (V8) .
By the way, Veeam B&R installed is ver (V8) .
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: powershell script to show the jobs thats runs long Time
Then, alarm suppression might do the trick for you. Thanks.
-
- Novice
- Posts: 4
- Liked: never
- Joined: Aug 27, 2015 9:26 am
- Full Name: jehad Twati
- Contact:
Re: powershell script to show the jobs thats runs long Time
Thank you for your solution . But we need script to do action, I mean for our request . if you can help us , thanks again .
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: powershell script to show the jobs thats runs long Time
You mean to make script perform some action in case it finds out a job exceeding allowed backup window? For instance, let script stop a job or something like that? We (me and Vitaliy) have previously combined our expertise to achieve the very same goal. Thanks.
-
- Novice
- Posts: 4
- Liked: never
- Joined: Aug 27, 2015 9:26 am
- Full Name: jehad Twati
- Contact:
Re: powershell script to show the jobs thats runs long Time
Hi Eremin,
Good day,
I mean about my request for script, just notify us any job that's runs more than 24 hours ago, just notify .
Thanks.
Good day,
I mean about my request for script, just notify us any job that's runs more than 24 hours ago, just notify .
Thanks.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: powershell script to show the jobs thats runs long Time
Then, check this script. Just replace 8 with whatever number you want to. Thanks.
Who is online
Users browsing this forum: No registered users and 18 guests