Coder Social home page Coder Social logo

Comments (3)

toddbruner avatar toddbruner commented on August 24, 2024

can you provide a "sanitized" command line example?

Option passed into alertbot.pl are passed into the ForkAlerts.pm module via the $opts_href. See around line 172 in alertbot.pl ( $bot->run($opts_href) )

If you can provide what options you attempted and why you think they failed, that will help us narrow down the problem.

from scot.

ajaymills avatar ajaymills commented on August 24, 2024

Whoops of course I should have had an example...

At first I saw the interactive flag and wanted to test it just to get a feel for the process.

./alertbot.pl --int

There was no output.

Eventually I realized that it only checks the last 60 mins by default (and there were no emails in my mailbox during that range) so I wanted to override that:

./alertbot.pl --ago 4320

This is the last three days and I can see a few dozen unread emails in my test mailbox. But no new alerts appeared in the event list.

Could only get this to work by editing lib/Scot/Util/Imap.pm line 45. Then those older emails were pushed into the event list.

Even then interactive mode didn't seem to produce output though.... I notice ForkAlerts.pm line 65 delcares variable $interactive but it never appears to be set (that I can see at a glance...).

Thanks

from scot.

toddbruner avatar toddbruner commented on August 24, 2024

Alertbot.p has been removed from 3.5.2. "alert.pl" is the replacement. Configuration of the its behavior is done through the file etc/mail.cfg.pl

from scot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.