Need a perl script which monitors a network folder and sends email when new files/folders arrived...
I need a perl script (or something else better) which monitors a network folder and sends email when new files/folders arrived. I tried it in Automator but failed.
Thanks!
Yes. I tried it. But whenever I restart m Mac, the watch folder doesn't work until I reconnect to network or run the Automator... I need a simple system that automatically connects to the network and monitor the folder, even I restart the Mac.
Thanks!
Similar Messages
-
Gui freezes during execution of a perl script which is never completed
Dear Java programmers,
I'm running a perl script which takes a few minutes to finish from a GUI. But when the execution reaches a point, it suddenly seems to stop and the GUI becomes irresponsive. Submitting the perl script to run as a separate thread to release the button doesn't make any different either. Is there any restriction in the time that swing allows external programs to run?
thanks in advance,
Tomtevang2 wrote:
I'm running a perl script which takes a few minutes to finish from a GUI. But when the execution reaches a point, it suddenly seems to stop and the GUI becomes irresponsive. Then you're tying up the Swing EDT, the event dispatch thread, which is the single thread responsible for drawing the Swing app and responding to user input.
Submitting the perl script to run as a separate thread to release the button doesn't make any different either. Is there any restriction in the time that swing allows external programs to run?None that I know of. I still have to wonder if you are creating a background thread properly because even if your perl script gets locked, if you are running it on a background thread, the Swing app shouldn't lock up. -
My 5 year old MacBook Air is telling me it "cannot save information about your mailboxes because there isn't enough space in your home folder. Quit mail, delete files you don't need, then reopen mail." What is "home folder," and which files to delete? Thanks.
The home folder is where all of your personal files are kept.
Best candidates to delete are movies, videos, music and photos since they generally take the most space.
Don't forget to empry the Trash after you delete the file because the space is not returned until the Trash is emptied.
Allan -
I have both iPhone and iPad that will not send emails when I am connected via wi if. Have tried three wi if networks. I get a messag that says the sender address (my address) was rejected by the server. Any ideas on what I need to do?
RustyHi and thanks again for trying to help.
Definitely works ok from pc.
Have deleted and re-established account a few times now but still the same.
I have actually given up and added gmail account which is working fine.
Sends and receives no problem.
Bloody bigpond....
We are not remote at all. Sitting in the fantastic Pavilion Hotel in Phnom Penh. Another couple here having trouble but not bigpond. Hotel staff have tried to help but to no avail.
Giving up and stick with gmail until we get home then start trying to get resolution.
Problem actually existed on a personal wi fi network in Melbourne before we left so I should have tried to resolve it then.
Thanks again for suggestions.
R -
Create and send email issue with UCCX/IP-IVR 8.0 script
Hi all,
I am facing issue with create and send email option with script. In my call flow there is an option to offer call to key in their phone number and script need to pass that phone number to supervisor as an email. I have created the script but every time when I key in the phone number is pass through the unsuccessful node. Please find the script as attachment.
Thanks and Regards,
AshfaqueHi How Yee,
Which version of UCCX/IPIVR you are using and what is the type of license? Because this feature is only supported with Premium License. Please check the UCCX data sheet from the below link.
http://www.cisco.com/en/US/partner/prod/collateral/voicesw/custcosw/ps5693/ps1846/data_sheet_c78-629807.html
You will get the information under "Integrated IVR Features with Server Software" of table:4.
Thanks and Regards,
Ashfaque. -
when i back up an iphone on itunes does it save my social network passwords and stuff so when i connect another phone and sync it it'll all be there and i won't have to sign into everything again? because, i don't know most of my passwords im just signed in to everything on my phone but i'm getting a new one.
please helpHey menaelraghy,
Thanks for the question. The following resource outlines what is backed up, you may be interested in this section:
iTunes: About iOS backups
http://support.apple.com/kb/HT4946
- Keychain (includes email account passwords, Wi-Fi passwords, and passwords you enter into websites and some applications)
If you encrypt the backup, you can transfer the keychain information to the new device. With an unencrypted backup, you can restore the keychain only to the same iOS device. If you're restoring to a new device with an unencrypted backup, you need to enter these passwords again.
Thanks,
Matt M. -
PowerShell Script to Create a Contact Card and Enable Email Forwarding
Exchange 2010
Can anyone help with creating a powershell script to create a contact card and set email forwarding at the sametime?
I'm looking to import a list of 200 users via a text or csv file, create the contact card with first name, middle initial if one exists, last name, (no alias) and put the contact card in the following OU "DIS###" in the a.b.c.com domain as well
as enable forwarding to @mail.com.
I've been able to create a script to enable mail forwarding but it doesn't help me without a contact card. I hate to put this upon anyone, but my ps scripting and Exchange knowledge is still in it's infant stage and I need get this done post hasteQ:Import csv: Does this contain 200 mailboxes name
A:It contains 200 user logon names.
For the mail forwarding:
I currently have a csv file with two columns -- one named displayname and the next call mailaddress. Under the displayname column I have the users account name (first.mi.last -- middle initial if they have one) and under mailaddress i have @mail.com.
script:
Import-CSV C:\setmailforwarding\mailforwarding.csv | foreach-Object{Get-Mailbox $_.displayname | set-Mailbox -forwardingAddress $_.mailaddress}
The above script should work if the contact card has been created. Obviously I need to create the card first.
I don't have a script to set up the contact card as of yet -- I was hoping to get some help on that.
Q:E-mail forwarding: Is this from mailboxes to mail contact, you will be creating
A:Not really sure what you are asking. I'm looking to create the contact card with a csv or txt file for first name, middle initial if one exists, last name, (no alias) and put the contact card in the following OU "DIS###" in the a.b.c.com domain as
well as enable forwarding to @mail.com. The users current email is @mail.1234.com and we will be migrating our mailboxes to another organization that uses @mail.com. I will need to set forwarding in the interim until the migration is complete.
Hope this helps. -
I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?
Hi Pusman,
While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
Does that helps with your query?
Regards,
Rahul -
I keep getting the error message "-42408" and all of my apps got deleted on my iPhone. It says that I need to authorize my computer, so I tried than and that's when the error message showed up. I'm pretty ****** and want my apps to be back on my iPhone. Please help.
What version of iTunes are you using? The error you references seems to be connected with iTunes 9.0.4. That version of iTunes is not compatible with iOS 6. You need to update to the current version of iTunes.
-
Shell Script to send email with .txt file as attachment
Dear Al,
Could any one help me with code, for sending email with .txt file as attachment using shell script.
Thank You!978334 wrote:
Dear Al,
Could any one help me with code, for sending email with .txt file as attachment using shell script.
Thank You!http://bit.ly/XHfSCz
https://forums.oracle.com/forums/search.jspa?threadID=&q=sendmail&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Someone has hacked into my account and sending emails (iCloud) pretending to be me. I've changed my icloud password. Do i need to do anything else?
You should consider enabling two-factor verification on your Apple ID, to further protect it. Without doing that, it's entirely possible that a hacker who gains access to your account in the future could take control of your Apple ID away from you entirely.
You also should consider whether any confidential information might be stored in iCloud. If you have made the mistake of putting a list of passwords in the Notes app, for example, that list should be considered compromised, and all passwords should be changed (and removed from the Notes app).
If you used the same password as your old iCloud password for other accounts, you need to change the password on all those accounts.
You should also alert your contacts that your e-mail was compromised, so that they are cautious about trusting any attachments supposedly coming from you. Keep in mind that the spammer can continue to "spoof" your e-mail address on the From line of new e-mail messages, even without access to your e-mail account. -
Is the wireless provider the issue? I can receive emails everywhere I go but in some locations can only send to a limited number of email addresses.
Greetings
I suspect that the issue is the SMTP server settings. On your home network you are using your providers SMTP server and all is fine (If you check your email account configs you will find that the SMTP server is set to your providers?).
When you use a different network (provider) mail will not be sent unless you use that networks (providers) SMTP server (this is a security issue to address ways of "spamming").
So if youre 3G/4G provider is the same as you home provider all will work well via your home WiFi. If you turn off WiFi and just use your 3G/4G connection to send mail (iPhone/iPad etc) all will work well (when you are out and about and using anothers WiFi network).
If you are connected to, say a MacDonalds WiFi, mail will probably not be sent. (It will be received though).
Using WEB mail interface (via your WEB browser) removes this problem as well.
(A SMTP server is what is used to send email. So to successfully use anothers (not a networks the same as your providers) WiFi network and send email via it, you must know the SMTP servers name and reconfigure your email account/s to use that server to send mail.) -
I used to have mobileme which never really worked properly, and now i would like to use Icloud which work between my Iphone and Ipad, however when i synch with my macbookpro, it does not synchronize properly. Can u please help me?
Thanks King_Penguin for taking time to read and reply.
I just purchased this movie on Thursday, May 15, so just a few days ago. I have never had any trouble whatsoever since I have been in Vietnam. I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase.
Sorry, I don't quite understand what you mean by studios and different versions. Could you please explain?
I checked my purchased list in my purchase history under my account and there are no hidden items. -
TSQL Script to monitor SQL Server transactional and snapshot replication
Hi Team,
Could you please let me know do you have any TSQL script to monitor replication(Transactional, Snapshot) with current status ? I have tried below script but it giving error. could you please have a look at the below script or do you have any other new TSQL
script to monitor the replication status ?
"Msg 8164, Level 16, State 1, Procedure sp_MSload_tmp_replication_status, Line 80
An INSERT EXEC statement cannot be nested."
DECLARE @srvname VARCHAR(100)
DECLARE @pub_db VARCHAR(100)
DECLARE @pubname VARCHAR(100)
CREATE TABLE #replmonitor(status INT NULL,warning INT NULL,subscriber sysname NULL,subscriber_db sysname NULL,publisher_db sysname NULL,
publication sysname NULL,publication_type INT NULL,subtype INT NULL,latency INT NULL,latencythreshold INT NULL,agentnotrunning INT NULL,
agentnotrunningthreshold INT NULL,timetoexpiration INT NULL,expirationthreshold INT NULL,last_distsync DATETIME,
distribution_agentname sysname NULL,mergeagentname sysname NULL,mergesubscriptionfriendlyname sysname NULL,mergeagentlocation sysname NULL,
mergeconnectiontype INT NULL,mergePerformance INT NULL,mergerunspeed FLOAT,mergerunduration INT NULL,monitorranking INT NULL,
distributionagentjobid BINARY(16),mergeagentjobid BINARY(16),distributionagentid INT NULL,distributionagentprofileid INT NULL,
mergeagentid INT NULL,mergeagentprofileid INT NULL,logreaderagentname VARCHAR(100),publisher varchar(100))
DECLARE replmonitor CURSOR FOR
SELECT b.srvname,a.publisher_db,a.publication
FROM distribution.dbo.MSpublications a, master.dbo.sysservers b
WHERE a.publisher_id=b.srvid
OPEN replmonitor
FETCH NEXT FROM replmonitor INTO @srvname,@pub_db,@pubname
WHILE @@FETCH_STATUS = 0
BEGIN
INSERT INTO #replmonitor
EXEC distribution.dbo.sp_replmonitorhelpsubscription @publisher = @srvname
, @publisher_db = @pub_db
, @publication = @pubname
, @publication_type = 0
FETCH NEXT FROM replmonitor INTO @srvname,@pub_db,@pubname
END
CLOSE replmonitor
DEALLOCATE replmonitor
SELECT publication,publisher_db,subscriber,subscriber_db,
CASE publication_type WHEN 0 THEN 'Transactional publication'
WHEN 1 THEN 'Snapshot publication'
WHEN 2 THEN 'Merge publication'
ELSE 'Not Known' END,
CASE subtype WHEN 0 THEN 'Push'
WHEN 1 THEN 'Pull'
WHEN 2 THEN 'Anonymous'
ELSE 'Not Known' END,
CASE status WHEN 1 THEN 'Started'
WHEN 2 THEN 'Succeeded'
WHEN 3 THEN 'In progress'
WHEN 4 THEN 'Idle'
WHEN 5 THEN 'Retrying'
WHEN 6 THEN 'Failed'
ELSE 'Not Known' END,
CASE warning WHEN 0 THEN 'No Issues in Replication' ELSE 'Check Replication' END,
latency, latencythreshold,
'LatencyStatus'= CASE WHEN (latency > latencythreshold) THEN 'High Latency'
ELSE 'No Latency' END,
distribution_agentname,'DistributorStatus'= CASE WHEN (DATEDIFF(hh,last_distsync,GETDATE())>1) THEN 'Distributor has not executed more than n hour'
ELSE 'Distributor running fine' END
FROM #replmonitor
--DROP TABLE #replmonitor
Rajeev RINSERT INTO #replmonitor
Hi Rajeev,
Could you please use the following query and check if it is successful?
INSERT INTO #replmonitor
SELECT a.*
FROM OPENROWSET
('SQLNCLI', 'Server=DBServer;Trusted_Connection=yes;',
'SET FMTONLY OFF; exec distribution..sp_replmonitorhelpsubscription
@publisher = DBServer,
@publication_type = 0,
@publication=MyPublication') AS a;
There is a similar thread for your reference.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/634090bf-915e-4d97-b71a-58cf47d62a8a/msg-8164-level-16-state-1-procedure-spmsloadtmpreplicationstatus-line-80?forum=sqlreplication
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
Script to monitor database and send email alerts
Dear Gurus,
We have databases running on WIN2000 server. Can anyone provide me with a script (VBScript) or a batch file script which can check the database status and send an email alert depending upon the status of the database. Thanks in advance for the help!!Hi,
I don't think this is the right forum for this.
The Oracle Scheduler can certainly schedule such a script to run regularly but the issue of creating such a script is more to do with general database maintenance. It seems as though a web search should reveal some similar scripts that can be used as a base.
Thanks,
Ravi.
Maybe you are looking for
-
Error while deploying application using enterprise manager website and dcmctl
Hi, I am trying to deploy a huge ear file using enterprise manager website of Oracle 9iAs Rel 2. The deployment fails with the following error. Deployment failed: Nested exception Root Cause: null; nested exception is: java.lang.OutOfMemoryError. nul
-
Conversion problems with Memo field in Access database
I have the latest version of Migration Workbench and the Access 2000 plug-in. I am using an ODBC driver, and the SQL conversion requirements for converting to a native driver seem too time and labor intensive to be feasable. My problem is that I have
-
I cannot play music when connect to stereo via 30-pin connector. Help?
Since I first upgraded my iPod Touch 2nd Gen to iOS 4.x, I cannot play music when connect to external speakers via the 30-pin connector. I've tried several different speaker systems, but none work. My iPod freezes after making my song selection and d
-
Every time I connect my USB Disk, the airport restarts
I am having problems getting the disk to work with the Airport Extreme. Every time I turn the disk on, it makes the Airport restart and the light turns to amber. Has anyone else had this problem? Any solutions?
-
Please help me to build the logic
Hi All, Please help me to implement the following logic. The conditional statements should not only be executed in sequence, but also if any of them are true they should not be overridden by any subsequent conditional statements being true. When actu