Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Emailer Not Working
Humphrey1988
post Aug 19 2006, 04:47 PM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 18
Joined: 19-August 06
Member No.: 15,398



Here's what I wanted to do: set up a "puzzle of the day" email delivery system that people could subscribe to.

Here's how I attempted it: using a modified version of an article on asp101 (getting scripts to run on a schedule), I put the following code at the bottom of my site's homepage:


Code:

<% If DateDiff("d", Application("LastScheduledRun"), Now()) > 0 Then Application.Lock Application("LastScheduledRun") = Now() Application.UnLock 'Trigger the emailer, which will then redirect back to here. Response.Redirect "/delivery.asp" End If %>



delivery.asp in turn sends off that day's puzzle and redirects back to the homepage.

Well, it worked, sort of. I had my own email as the only recipient for the past 4 days as a test. And I did indeed get the puzzles: 3 times a day. That's problem number 1.

Until today, when I didn't get the puzzle at all. By this time of day, it's usually arrived twice. That's problem number 2.

Any suggestions? Up to and definitely including "try the following free service/script instead"...

Note that this is a godaddy hosted, cheap-as-possible account. I don't believe I can access any kind of scheduled task controller on the server.

Thanks in advance.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Sleep Function Not Working(4)
  2. Help, My Laptop Charger Is Not Working Properly(17)
  3. ATI Radeon 9250 Issues(8)
  4. View New Posts Not Working(12)
  5. Cpanel Isn't Working.(14)
  6. System Sounds Not Working(9)
  7. Direct3d Setrenderstate(d3drs_zenable,true) Has No Effect ?(4)
  8. Need Help Making My Ftp Work(14)
  9. Gimp: Working With Text(5)
  10. Can't Make This Query Working.(2)
  11. Settimeout() & Focus() Not Working With Firefox(1)
  12. Lots Of Games Not Working - DirectX Issue?(8)
  13. PHP Mail Sending Is Not Working After cPanel Upgradation!(22)
  14. Mail Is No Longer Working?(10)
  15. Getting My Wireless Network Adapter Working On Linux(2)
  1. Javascript Changes Aren't Working.(6)
  2. My FTP Quit Working(10)
  3. Working Out A Date Has Passed(6)
  4. Hosting Not Working For Some Reason?(3)
  5. Get Wireless Working In Ubuntu 7.04(0)
  6. $_get Issue (urgent!)(11)
  7. Pc Monitor Not Working(8)
  8. Site Not Working(5)
  9. Table Issues(4)
  10. Working With Microsoft Office(0)
  11. Not Working Again(8)
  12. Dvd Decoders Not Working Properly(5)
  13. Site / Account Not Working(10)
  14. Asp With Astahost(8)
  15. Phpmysql Not Working!(7)


 



- Lo-Fi Version Time is now: 3rd December 2008 - 12:04 AM