This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Crontab and wineggies

Old posts that have not been replied to for several years.
Locked
P
Pitchat
Op
Posts: 122
Joined: Tue Feb 18, 2003 11:24 pm
Location: Hebertville Quebec Canada
Contact:

Crontab and wineggies

Post by Pitchat »

Hi !

I heard that it is possible to make a "crontab" or something equal for eggies on a windows platform.

I`d like to know more if somebody know , in fact the only thing i`d like to do is to make my eggy reconnect himself after a crash so if there is a way and you know how i`ll be happy to learn it :)

Thanks

Pitchat
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There is no crontab system for windows, though there is the windows scheduler.

On top, there is no process control program (kill) to check if eggdrop is allready running.

What can be done, is periodicaly touching a file (file mtime). This will allow you to query when a eggdrop was last known to be active.

Windows schedulaer can then start eggdrop all the time. Eggdrop will check if the file has been modified in X mins, and die if it has.

If not, continue.
m
madgabz
Voice
Posts: 20
Joined: Thu Apr 04, 2002 8:00 pm
Location: Copenhagen, Denmark
Contact:

Post by madgabz »

There IS a crontab app for windows, with the same format for the tab-file as in *nix
its called (gasp!): WinCron :)
If you need to, you can download a limited version here!.

I highly recommend it, though its a bit 'geekier' to setup and use, than windows scheduler!
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Windows schedual should work perfectly fine for the job.

This issue is around process control.

Eggdrops cron job, uses the *nix "kill" command, to test if the PID of a eggdrop is alive.

This process doesn't exist in windows.
Locked