Problem starting the module mod_cron

mod_cron SVN 171 work with ejabberd 2.0.5. Upgrade ejabberd 2.0.5 to 2.1.6. I've added it to my ejabberd.cfg file using the following line:

  {mod_cron,     [{tasks,[
                          {92, hours, mnesia, backup, ["D:\\Program Files\\ejabberd-2.0.5\\bin\\ejabberd.backup"]}
                         ]}]}

However when I restart my server get this error in ejabberd.log file:

=ERROR REPORT==== 2011-02-21 09:40:47 ===
E(<0.36.0>:gen_mod:73) : Problem starting the module mod_cron for host "myhost.org" with options:
  [{tasks,[{92,hours,mnesia,backup,
            ["D:\\Program Files\\ejabberd-2.1.6\\bin\\ejabberd.backup"]}]}]
  error: undef

So has checked up with mod_cron SVN 699 and 1635. I get the same error.

With what version of mod_cron will work with ejabberd 2.1.6?

I installed ejabberd 2.1.6

I installed ejabberd 2.1.6 and mod_cron SVN r1110, configured like you, and it starts without error.

If I remove mod_cron.beam, then I get your error.

Are you sure mod_cron.beam is copied to the same directory that all other ejabberd beam files?

I am sure

badlop wrote:

I installed ejabberd 2.1.6 and mod_cron SVN r1110, configured like you, and it starts without error.

If I remove mod_cron.beam, then I get your error.

Are you sure mod_cron.beam is copied to the same directory that all other ejabberd beam files?

I am sure mod_cron.beam is copied to directory ebin

You will forgive

You will forgive. Badly I know the Windows system.

I generated a new mod_cron.beam file and it worked.

Thank you.

Syndicate content