Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Notification don't work

Quote Reply
Notification don't work
My account (admin) is subscripted to all topics. Unfortunately I'm not recieving anything even tough new messages are posted...
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] Notification don't work In reply to
Have you set up the subscription cron job?

The subscription e-mails are meant to be sent once per day; adding this line to your crontab will do the trick:

0 2 * * * /system/path/to/your/admin/cron/subscribe.pl --send

That'll send at 2am every day; 0 0 * * * .... would send at midnight.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Notification don't work In reply to
That did the job! Thanks!
However it's not so clear in the install Tongue
I've inserted the cron job so it will run the command each day at 3 AM. I executed it for testing and it works. But even tough it will run each day, it's smart enough to send only when necessary?
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] Notification don't work In reply to
It keeps track of when it last sent an e-mail to you, and only sends the e-mail if there have been posts since the last one.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Notification don't work In reply to
I had no doubt.
Just for being 100 per 100 sure. Cool
Thanks
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [Jagerman] Notification don't work In reply to
In Reply To:
Have you set up the subscription cron job?

The subscription e-mails are meant to be sent once per day; adding this line to your crontab will do the trick:

0 2 * * * /system/path/to/your/admin/cron/subscribe.pl --send

That'll send at 2am every day; 0 0 * * * .... would send at midnight.


Is this something that we would all need to do for "subscriptions" to work, or is it just for this particular case? If it's not an automatic thing, then I'd have to ask why it's offered in the user panel at all? (I've never even thought to ask about this or try it! I don't want to know that much about what's posted! Tongue )

Steve

Visit The Guitar Diner
Quote Reply
Re: [Boomer] Notification don't work In reply to
In Reply To:
Is this something that we would all need to do for "subscriptions" to work

Yes, Gossamer Forum needs this cron job to run in order for subscriptions to be sent out. Unfortunately, there isn't really a nicer "automatic" way to do this other than a cron job.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Notification don't work In reply to
Having no idea what a "crontab" is, would anyone care to walk me throught, step-by-step, exactly where I need to insert:

"0 2 * * * /system/path/to/your/admin/cron/subscribe.pl --send:"

A couple of users have subscribed to forums but never mentioned that they don't get notices.

Thanks

Steve

Visit The Guitar Diner
Quote Reply
Re: [Boomer] Notification don't work In reply to
You need to login you your ssh account and type:

crontab -e

....then press "a" and then paste in that code without the quotes.

Then press escape and then:

:w <enter>
:q <enter>

Last edited by:

Paul: Apr 1, 2003, 12:34 AM
Quote Reply
Antwort: [Jagerman] Re: [maxpico] Notification don't work In reply to
In Reply To:
Have you set up the subscription cron job?

The subscription e-mails are meant to be sent once per day; adding this line to your crontab will do the trick:

0 2 * * * /system/path/to/your/admin/cron/subscribe.pl --send

That'll send at 2am every day; 0 0 * * * .... would send at midnight.

how can i do that at win2000 ??
thanks.

my MSN: perlchina_at_hotmail.com
Quote Reply
Re: [tsingson] Antwort: [Jagerman] Re: [maxpico] Notification don't work In reply to
Windows doesn't support cronjobs unfortunately. You'd need to create a scheduled event for that I think.
Quote Reply
Re: [Jagerman] Notification don't work In reply to
In Reply To:
Unfortunately, there isn't really a nicer "automatic" way to do this other than a cron job.

Well, you can at least make it more clear in the installation of Gforum Wink
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [Boomer] Notification don't work In reply to
Hi Boomer:

An even easier way to do it, especially if you run a few CRON jobs is to use a text file.

Create a text file eg. mycron.txt

Include in this file what you want to execute eg.

0 2 * * * /path/to/subscribe.pl --send
0 3 * * * /path/to/another.pl --send
0 4 * * * /path/to/yet/another.pl --go

To add it to your CRON schedule you then just type the following:-

crontab -a filename (ie. mycron.txt)
(On many systems you don't need the -a)

Other helpful options are:-

crontab -l Displays your crontab file.
crontab -r Remove your crontab file.

Hope this is of some assistance to you. I definately prefer using the 'file' method - I'm afraid I am not the best at using PICO or similar.

Regards,



Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [Paul] Antwort: [Jagerman] Re: [maxpico] Notification don't work In reply to
In Reply To:
Windows doesn't support cronjobs unfortunately. You'd need to create a scheduled event for that I think.

There's a set of tools you can download called "AINTX" - it's not terribly simple to install (no GUI or anything), but among other things it provides cron for Windows, which runs as a service and works exactly like unix cron.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Antwort: [Jagerman] Re: [maxpico] Notification don't work In reply to
Sweet. I just downloaded it. There's some nice tools in the zip!
Quote Reply
Re: [Paul] Notification don't work In reply to
I can recommend nnCron LITE - this is tiny yet powerful Windows cron port with some additional possibilities (for example, it can be launched as system service or as regular standalone application, can start tasks as logged user, etc...).

Freeware. 250k (with docs)

http://www.nncron.ru/#nncronlt
http://www.nncron.ru/...load/nncronlt111.exe
Quote Reply
Re: [nnSoft] Notification don't work In reply to
Quote:
I can recommend nnCron LITE

I'm sure you can, as the link to the site is in your signature.

Last edited by:

Paul: Apr 27, 2003, 2:25 PM
Quote Reply
Re: [Paul] Notification don't work In reply to
Spam, perhaps, but I'm tempted to allow it - Windows users could use a good cron utility, and if this does the job, and is free...

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Notification don't work In reply to
cron.exe that comes with AINTX crashes when I start the service :(

Quote:
Windows users could use a good cron utility, and if this does the job, and is free...

I suppose, but the fact that the recommendation was posted in the style of spam puts me off the website straight away.
Quote Reply
Re: [Jagerman] Notification don't work In reply to
Mmm according to the license agreement it isn't free. It's a 30 trial.
Quote Reply
Re: [Paul] Notification don't work In reply to
The "LITE" version appears to be free.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Notification don't work In reply to
Why do you think it's spam? I just saw, that people there were talking about cron-ports for Windows and I recommend nnCron LITE... I hope, I not violated the rules of the board! :)

Yes, it's completely free, and it's not time-, or feature limited etc...
Quote Reply
Re: [nnSoft] Notification don't work In reply to
In Reply To:
Why do you think it's spam? I just saw, that people there were talking about cron-ports for Windows and I recommend nnCron LITE... I hope, I not violated the rules of the board! :)

I don't (I would have nuked the thread if I thought it was) - but we get a few people advertising their own non-free products on here, which isn't allowed. Your suggestion, on the other hand, I see as being quite useful for Windows users of our products.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com