ircdcron

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Locked
oroboros
Posts: 1
Joined: Fri Dec 25, 2015 4:03 pm

ircdcron

Post by oroboros »

Near the end of make install there's a note:
# TODO: ircdcron.. where?
I see that my unrealircd-4.0.0 distribution directory contains extras/ircdcron directory. In keeping with the new separate installation directory, where should these files be copied? I can't find documentation and it looks like this is still pending doc.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: ircdcron

Post by Syzop »

You're right, that's something that hasn't been done yet. Also because it wasn't on any todo list / bugtracker. I've added it to the bug tracker now.

For simple on-reboot start (but not a check every x minutes) you could add this to crontab. That gives you at least part of the functionality:
@reboot /home/yourusername/unrealircd/unrealircd start
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: ircdcron

Post by Syzop »

And fixed. If you can't wait you can always download the latest development version ("Download ZIP") from https://github.com/unrealircd/unrealircd/
With that development version / future 4.0.1 you can then use:

Code: Select all

*/5 * * * * /home/yourusername/unrealircd/unrealircd croncheck
Locked