Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Options other than chron job?

Quote Reply
Options other than chron job?
For Win2K/NT server installs of the Forums, are there any other options aside from a chron job to drive the forum subscription feature?

Using SMTP server for my mail settings and it's working nicely. Except for the subscription stuff obviously.
Quote Reply
Re: [HeavyBombers] Options other than chron job? In reply to
Hi,

Look at Windows Scheduler. It does the same thing. Set it up to run subscribe.pl once a night.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Options other than chron job? In reply to
Could GForums support CDONTS, or has somebody written a hack for it? If so my host would have no problem with Windows Scheduler running subscribe.pl, but they are reluctant to do it for a SMTP setup.

-Scott
Quote Reply
Re: [HeavyBombers] Options other than chron job? In reply to
Although in truth I don't know why, my understanding is that CDONTS is something in between an ASP page and the SMTP server?

Off to do my homework.
Quote Reply
Re: [HeavyBombers] Options other than chron job? In reply to
Or offer a roadmap (tips/clues) how somebody might best incorporate CDONTS into the current Gossamer Forum scheme.
Quote Reply
Re: [HeavyBombers] Options other than chron job? In reply to
I'm not familiar with it, but from what I read on Microsoft's site, it seems to just be a Visual Basic library to access a SMTP service to send email. I don't think it would be any different then having Gossamer Mail sending it directly.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Options other than chron job? In reply to
Hi Alex,

The reason the host gives is as follows:

"CDONTS uses the SMTP services on the [main] web server. It does not use your domains [sic] SMTP server."

I guess the more robust main server is desirable over their hosted servers.

-Scott

Quote Reply
Re: [HeavyBombers] Options other than chron job? In reply to
Hi,

Then you should just be able to put your main webservers hostname as the SMTP server in the Gossamer Mail configuration, and not your own domain name?

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Options other than chron job? In reply to
Well that thought crossed my mind as well. Might it be to preserve the illusion that mail is originating from XYZ server (heavybombers.com) as opposed to hostingservice.com server?

Dunno. I shall inquire.
Quote Reply
Re: [Alex] Options other than chron job? In reply to
With the current low volume of my forums, the host is willing to run scheduler on a temporary basis. But they asked for something and I have no clue what they mean:

"...we will need from you is the complete AT command that you want added in to the server. Please make the time after 1:00 a.m."

?? Translation? Some sort of command string?
Quote Reply
Re: [HeavyBombers] Options other than chron job? In reply to
It's windows version of cron:

Code:
E:\>help at
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername Specifies a remote computer. Commands are scheduled on the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted, the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be run.


Haven't used it in a while, but I think you just want:

at 3:00 "c:\path\to\subscribe.pl --send"

but ask your ISP to double check.

Cheers,

Alex
--
Gossamer Threads Inc.