phpScheduleIt
May 22, 2013, 11:49:59 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: problem scheduling reminder email job  (Read 2534 times)
spamking
Newbie
*

Karma: 0
Posts: 24


« on: September 30, 2008, 02:58:58 PM »

What is the proper text for a reminder?  

Is the following correct?

"c:\php\php.exe c:\Inetpub\wwwroot\phpScheduleIt\cmd\send_reminders.php"

Or is this correct?

"c:\php\php.exe; c:\Inetpub\wwwroot\phpScheduleIt\cmd\send_reminders.php"

Space or no space?

I've tried to both, but couldn't get either to run.

Logged
spamking
Newbie
*

Karma: 0
Posts: 24


« Reply #1 on: October 01, 2008, 11:00:22 AM »

So nobody is scheduling reminders?
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #2 on: October 02, 2008, 01:56:17 PM »

First one is correct.  You can also register php.exe in your environment path and not have to specify the full path in the scheduling task.
Logged
spamking
Newbie
*

Karma: 0
Posts: 24


« Reply #3 on: October 06, 2008, 04:01:38 PM »

Thanks for the reply Nick . . . I know you're busy with real life.  Smiley

Ok . . . for whatever reason I'm not getting this to work properly.

So in the window that pops up for the scheduled task there are 4 tabs.

In the "Tasks" tab there is the Run: _____________________________ and the Start in: ______________________________ . . .

So the "c:\php\php.exe" goes in the Run blank and the "c:\Inetpub\wwwroot\phpScheduleIt\cmd\send_reminders.php" goes in the Start in blank?

Or does the "c:\php\php.exe c:\Inetpub\wwwroot\phpScheduleIt\cmd\send_reminders.php" all go in the Run blank?

Not sure what you mean by register php.exe in your environment path means . . .  Sad
« Last Edit: October 06, 2008, 04:04:41 PM by spamking » Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #4 on: October 07, 2008, 02:04:50 PM »

You should be able to put everything into the run box.  I believe the "start in" will not be needed.
Logged
spamking
Newbie
*

Karma: 0
Posts: 24


« Reply #5 on: October 09, 2008, 08:34:28 AM »

Ok . . . I'll give it another try.

Thanks.
Logged
spamking
Newbie
*

Karma: 0
Posts: 24


« Reply #6 on: October 10, 2008, 12:08:08 PM »

I've tried this several different ways but just can't get it to actually send reminders.

I know my email settings are correct because everyone gets emails regarding their reservation after it is created.

I have no clue what to try next.

This isn't the end of the world, but it would be very nice if reminders would work.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #7 on: October 13, 2008, 01:58:35 PM »

I'll try this out on my XP box at home and let you know if I find anything weird.
Logged
spamking
Newbie
*

Karma: 0
Posts: 24


« Reply #8 on: October 16, 2008, 11:31:18 AM »

Any luck?
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #9 on: November 23, 2008, 06:39:14 PM »

The way it works for me is by putting this in the Run box: C:\PHP\php.exe c:\path\to\phpScheduleIt\cmd\send_reminders.php

And having C:\PHP\ in the Start in: box

Logged
spamking
Newbie
*

Karma: 0
Posts: 24


« Reply #10 on: April 03, 2009, 09:26:16 AM »

I never got the reminders to work . . . I ended up adding C:\PHP\php.exe c:\path\to\phpScheduleIt\cmd\send_reminders.php to a bat file and scheduling the bat file to run.

That seemed to do the trick.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #11 on: April 03, 2009, 02:16:26 PM »

That's weird.  Did you have to schedule the job to run as a specific user or anything?
Logged
spamking
Newbie
*

Karma: 0
Posts: 24


« Reply #12 on: April 14, 2009, 01:52:20 PM »

I used my credentials as an admin to run the job on the server . . . it would attempt to start but failed right away.

Using the command in the bat file is working just fine though.

Thanks.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!