![]() |
ok, I really want to add this and have been hacking vb's since the 2.1.x days. I've got everything working fine, but it wont update the list (so not really working fine) the ts ip we have is 67.18.180.106:1237 how would i enter that into the cronjob (i'm using crontab on control panel)
anyone able to help me out on what the cronjob line should look like for that ip? thanks |
Quote:
PC Gaming Site http://WOLFGaming.net |
Quote:
0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,3 6,38,40,42,44,46,48,50,52,54,56,58 * * * * /home/www/web1/html/forum/includes/cron/ts2php 217.160.173.218 /home/www/web1/html/forum/whoisints.php >/dev/null 2>&1 This is starting the update every 2 minutes :D Don't forget to add a -p<port> in your case. |
ok thanks, n00b type question here, but i add the 1237 in inplace of the word port right?
so like -p<1237> |
Quote:
ts2php IPADDRESS -p1234 FILE or ts2php IPADDRESS -p:1234 FILE Did not remember how I add that :D |
Thanks, im still having problems getting it to work, it doesnt seem to be creating the whoisints.php file at all, or updating it when i manually create a blank php file and name it whoisints.php
It's very late here too, so I've totally given up for tonight, but I dunno what else I can do to try and get it working, which is a crying shame cos the hack itself looks sound, and would have been really useful to have got working. I'll openly admit tho, I only got the control panel stuff added a couple of months back and this is my first experience with cronjobs outside of vb, so this may be the problem for me. |
Does this work for 3.01 by chance? Also, does the TS server need to be the same server as the forum server or could it be different?
This sounds very cool. Thanks a lot! |
works like a charm on 3.0.1, check my forums if you want to see it in action, i have it set to update every 2 minutes now.
thanks for the help with the cronjob too jluerken, I've been waiting for something like this for my clan for months, such a breeze to install, took me a while to get the cron down, you need the port as IP -p:addnumberhere file Once again, thanks for a great hack. |
Quote:
This run's every two minutes too. |
Instead of cronning it, run the command whenever index.php is loaded? Surely enough people visit your board to compensate for no-cron job.
|
All times are GMT. The time now is 10:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|