I need help here. Im trying to set a cron job to sync my Sourcebans with HLstatsX anyone get this going yet? I'm just left clueless now as my website and the stats have different URLS and FTP space. Im looking to have a cron run say every 1/2 hour to keep the bans synced with the server this is the path to the script I want run from my stats FTP
/scripts/ImportBans/hlstatsxban.php
any help would be greatly appreciated
WKA | iLLm@tiK
help with syncing Sourcebans with HLstatsX
-
- New to forums
- Posts: 5
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Mon May 12, 2014 6:44 am
- Location: Massachusetts
- Contact:
-
- This is my homepage
- Posts: 251
- Joined: Tue Jan 28, 2014 5:32 am
Re: help with syncing Sourcebans with HLstatsX
yeah the stats, awards and all work I just cant get sourcebans to sync the bans with them. upon reading online it says there needs to be a cron job created for it to work. The thing that has me stunned here is the stats are on a different server then the website with the cron abilities so I don't know how to go abouts setting the cron up that way
this is the stats page as u can see everything else works but the sourcebans tab
http://wekickass.hlstatsx.nfoservers.com/
this is the stats page as u can see everything else works but the sourcebans tab
http://wekickass.hlstatsx.nfoservers.com/
Re: help with syncing Sourcebans with HLstatsX
sorry just reset the stats not thinking....trying to switch from one clan name to another but im in need of someone to give me the command I would type in the cron section to get that file to load every 15 mins or so. im not sure of the command line to use as said due to it being on a different server
-
- This is my homepage
- Posts: 251
- Joined: Tue Jan 28, 2014 5:32 am
Re: help with syncing Sourcebans with HLstatsX
I'm didn't totally understood what you trying to accomplish here. What does being on a different server have anything to do with it ?
As for running crontabs every 15 mins. That can be easily done by following commands.
As for running crontabs every 15 mins. That can be easily done by following commands.
Code: Select all
crontab -e
*/15 * * * * /path/to/command
Re: help with syncing Sourcebans with HLstatsX
ok the reason I said that is my stats are hosted at this site
http://wekickass.hlstatsx.nfoservers.com
and my website with cron access is hosted on this site
http://wekickass.site.nfoservers.com
which has a whole different subdomain/IP
my HLstatsX wont sync with my sourcebans install due to a script that has to be run for HLstatsX. In order for it to run I would have to have it (the cron job) setup on my webspace (the 2nd link). I was wondering how I could set a cron job to run a script on the site with the stats (1st Link) from my webspace site (2nd Link).
Is there a command to run a external script from another site I could use?
when I log into my hlstatsx ftp my directory shows as follows
/
/scripts (location of script I need to run)
/web (HLstatsX Website) which http://wekickass.hlstatsx.nfoservers.com points to directly
http://wekickass.hlstatsx.nfoservers.com
and my website with cron access is hosted on this site
http://wekickass.site.nfoservers.com
which has a whole different subdomain/IP
my HLstatsX wont sync with my sourcebans install due to a script that has to be run for HLstatsX. In order for it to run I would have to have it (the cron job) setup on my webspace (the 2nd link). I was wondering how I could set a cron job to run a script on the site with the stats (1st Link) from my webspace site (2nd Link).
Is there a command to run a external script from another site I could use?
when I log into my hlstatsx ftp my directory shows as follows
/
/scripts (location of script I need to run)
/web (HLstatsX Website) which http://wekickass.hlstatsx.nfoservers.com points to directly
Re: help with syncing Sourcebans with HLstatsX
just wondering if anyone ever figured this out