Search found 6 matches

by Hampster
Thu Oct 04, 2012 5:27 pm
Forum: Webhosting
Topic: Automatically moving HLTV demos to webspace
Replies: 9
Views: 3388

Re: Automatically moving HLTV demos to webspace

You should probably uncomment the debugging lines in lib/db.php to give us more information about what's going wrong. If your HLTV has a password on it, the entry in the DB has to have that too.
by Hampster
Mon Jul 16, 2012 10:48 pm
Forum: Game and voice servers
Topic: Automatically move files to webspace?
Replies: 2
Views: 927

Re: Automatically move files to webspace?

I ended up doing the following as a cronjob (I hope this is useful to anyone else!) #!/bin/sh # get all logs and delete those under 65kB wget ftp://user:pass@user.game.nfoservers.com/tfc/logs/*.log -N find . -type f -size -65k -exec rm {} \; # delete any lines that contain 'rcon' grep -il rcon * | x...
by Hampster
Mon Jul 16, 2012 9:33 pm
Forum: Webhosting
Topic: Automatically moving HLTV demos to webspace
Replies: 9
Views: 3388

Re: Automatically moving HLTV demos to webspace

Ah, that works perfectly. Thank you! :)
by Hampster
Mon Jul 16, 2012 9:25 pm
Forum: Webhosting
Topic: Automatically moving HLTV demos to webspace
Replies: 9
Views: 3388

Re: Automatically moving HLTV demos to webspace

Can you suggest one I can use?
by Hampster
Mon Jul 16, 2012 9:16 pm
Forum: Webhosting
Topic: Automatically moving HLTV demos to webspace
Replies: 9
Views: 3388

Automatically moving HLTV demos to webspace

Hi everyone! I'm currently setting up my HLTV and webspace to talk to each other. I followed this thread on Allied Mods to set up a cronjob to query my server and auto record an HLTV demo only if 4+ people are on the server. Where I'm stuck now is actually moving over the files. I started another sc...
by Hampster
Wed Jul 11, 2012 10:37 pm
Forum: Game and voice servers
Topic: Automatically move files to webspace?
Replies: 2
Views: 927

Automatically move files to webspace?

Hi there, I'm looking to run a sort of cronjob that will automatically move logs ('adlpickupz' TFC logs, to be exact) from my server to my webspace. Is there an easy way to do this? Ideally, I'd be able to discriminate whether someone was playing in the server (e.g. don't copy over empty logs). Thanks