I have a script that I run through ARD to report on how many patches are required by Software Update on each client. It is a vertical list of comprised of computername <number or required updates> . How can Iautomate this easily to have it mailed to a group of people every Monday morning using Entourage 2008 as my email client. Thanks so much!
This is a starting point I guess, so I hope it is of some help. Not sure why you want to use Entourage specifically when you can use the "mail" program that comes pre-compiled in OS X, but hey, whatever you need.
Firstly you'll need to get the list somewhere on the filesystem. In this example script it is in a file called sus_list.txt under the /tmp/ directory.
This script will have to be made executable or called like this
I usually place scripts like this in /usr/local/scripts/ but that is a personal preference.
Normally I'd say to use Launchd to handle the scheduling of the script, but the StartCalendarInterval is not tuned enough for this at present, so it's back to good old cron. Personally, I wouldn't have this run by the root account as there is nothing in there that requires root privileges. To that end, in your crontab, add the following so that it will run at 0900 every Monday:
HI Team,
I am trying to create a shell script to generate a yesterday and today report to compare and email in daily basis. can you please help me on the same.
#!/bin/bash
#Author: *******************
#Description: This script will return the following set of system information:
... (2 Replies)
Hello All,
I have need as below:
1--> I need to get all users(who submit jobs) and their details by using below command:
qstat -u \*
output of the above command looks line below:
job-ID prior name user-id state "submit/start at" queue jclass slots ja-task-ID... (5 Replies)
I have a ksh script that emails a report to outlook from a Unix Solaris. On server the report formatted perfectly. However, the email version the format is not.
On the server report looks like this:
TN Region Old SPiAD Server Order/Req Local Status NAAC Status Request Date New... (1 Reply)
Hi All,
I have a shell script that is integrated with a fault management system. It periodically monitors the system and raises an alarm. This script has different functions and it accepts input from us on the console. Is there any way to invoke it using a shell script ?
Please advise.
... (2 Replies)
Could any one tell me , how to start a thread here, i just searching for so long. sorry to post in irrelavent here
---------- Post updated at 08:19 AM ---------- Previous update was at 08:00 AM ----------
Hi,
I got a requirement to automate the process.
We have SLA files, there are... (1 Reply)
Hi Guru's,
I am trying to write a scripts that will automate my image provisoining process.
Scenario:
I have Linux Image Hosted on cloud which needs to be provisoned before it can be used. Currently we log onto the image through the putty on windows and connect to linux instance. I... (3 Replies)
Hello,
sarg -l access.log -e johndoe@emailaddress.com will send text formated
activity to John Doe.
sarg -l access.log -u johndoe will generate user activity of John Doe from access.log file.
Question:
Is there way to send sarg generated URL Link for detail drill down to the user via... (0 Replies)
Hi there,
I am trying to send emails from within a shell script, and I need help. Also I am trying to send attachments from within a shell script. I am using sendmail.
Regards (3 Replies)
Hi all,
I want to write a script which logs into a database (DB2). To do this i need to have a password. This will be done lots and lots of times, so i need to modify the script to automate the response to the password request.
How do i this, because at present i do the following:
db2 connect... (3 Replies)