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.

making eggdrop run shell command??

Old posts that have not been replied to for several years.
Locked
v
vilu5

making eggdrop run shell command??

Post by vilu5 »

Is there any way of making eggdrop run some commands on the unix box it's running on? I cannot use cron because I don't have permissions to it.
All it should do is run ./pisg about every one hour... So it would be nice to schedule it some how. If I could even run command directly from eggdrop would make things easier.
d
dollar
Op
Posts: 178
Joined: Tue Oct 28, 2003 3:47 pm
Location: Netherlands

Post by dollar »

Try 'exec' for executing shell commands (it's a TCL command, so don't try ".exec" on the partyline, use ".tcl exec" or write a script). Search for PISG in the TCL archive.
dollar (or something similar) at:
#eggdrop / #tcl - undernet
#egghelp / #tcl / #eggtcl - efnet
#eggdrop.support / #tcl - quakenet
#eggdrop - ircnet
v
vilu5

making it run several times a day

Post by vilu5 »

Thanx for that got to try :)
How about making it run several times every day without using cron?
s
soroh

Post by soroh »

If I may.. my script (pisg-0.5.tcl) will do that for you.
It'll run 4 times a day, once every 6 hours.

It also has FTP capabilities to upload your stat pages.

-soroh
v
vilu5

Thanx!

Post by vilu5 »

Hey thanx a lot! I'll try that script...
Locked