![]() |
|
|
#12 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
|
|
|
|
|
|
#13 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
426710 Posts |
|
|
|
|
|
|
#14 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
|
|
|
|
|
|
#15 |
|
Jul 2007
Tennessee
10011000002 Posts |
Thats a good idea Anon. Maybe the llrservers could notify the finder. The users email address would have to be stored on the server somewhere. I'll test it out.
IF NEW.RESULT="0" THEN SELECT concat("To: ",email), "From: llrnet@rieselprime.org", concat("Subject: Prime Found ",NEW.k, "*2^", NEW.n,"-1"), "", NEW.username FROM teams WHERE USERNAME=NEW.USERNAME INTO OUTFILE "/inetpub/mailroot/pickup/mail.txt" FIELDS TERMINATED by '\r\n'; END IF; |
|
|
|
|
|
#16 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
In the meantime, I'll work on my previously-promised script for email notification of primes found by manual LLR (though it might turn out to work with LLRnet, too, since they use the same lresults.txt format).
|
|
|
|
|
|
|
#17 |
|
Jul 2007
Tennessee
10011000002 Posts |
I fed an old known prime into the queue and it worked.
subject Prime Found 557*2^334422-1 I just need to add a field to edit/add/delete the users email address to the admin script and it ready to go. |
|
|
|
|
|
#18 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
|
|
|
|
|
|
#19 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
186916 Posts |
Hi all,
The program for email notification of primes is now ready! I've attached a zip file containing version 1.0 of the program; you can read the included prime-notify.txt for more information on the program. ![]() Hopefully it will work, I wasn't able to test it fully because my ISP's mail server didn't like the way the included sendemail.pl program (a third-party freeware program that my program uses to send out its emails) authenticated to it. ![]() If you have any problems with it, please let me know! Anon P.S.: If you're using a Windows system, you'll need to install Perl in order for this to work. You can get it at http://www.activeperl.com. |
|
|
|
|
|
#20 | ||
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
Quote:
![]() But, I'm having trouble with it...perhaps it's just that Gmail doesn't like this sort of comm., like your ISP. I got this error: Quote:
Edit: I noticed that I had the port set wrong, but it still doesn't work. Same error message, but I just thought I'd post that I fixed that. I noticed, while checking settings, etc. that Gmail uses and requires TLS, which apparently isn't supported by sendemail.pl. Last fiddled with by Mini-Geek on 2008-03-03 at 03:58 |
||
|
|
|
|
|
#21 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
Quote:
Also, do you have an ISP email account you could try? (Even if you don't actually use it for email, you should still be able to use it to authenticate to your ISP's mail server. Generally, ISP mail servers don't use TLS, so sendemail.pl should work with them.) If so, I would recommend you try that. Anon
|
|
|
|
|
|
|
#22 | ||
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
Quote:
Here's the message: Quote:
It doesn't run as a Scheduled Task correctly. XP requires a password to do a Scheduled Task, but my account has no password. Do you know of a workaround for this? I don't mind having a password if there's a way to automatically log in to it (I know that stopping the automatic logon is kind of the point of a password, but this is a special case). Edit: This part's fixed. For anyone else that has this problem, assign some password to your account and follow Method 1 here: http://windowsxp.mvps.org/Autologon.htm Last fiddled with by Mini-Geek on 2008-03-03 at 13:35 |
||
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is there independent check for found factors? | bloodIce | PrimeNet | 10 | 2011-03-12 18:51 |
| Check the prime | Vandor | Information & Answers | 3 | 2008-11-27 15:25 |
| prime check myself | Vandor | Software | 1 | 2008-10-10 05:52 |
| Prime check need | bggashnik | Information & Answers | 10 | 2007-04-07 15:26 |
| How to check if a number is a Mersenne prime ? | Unregistered | Software | 6 | 2004-06-19 08:18 |