Megalith Posted February 14, 2007 Share Posted February 14, 2007 great :) we're onto it now Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 Ok neither of them worked lol. I am wondering if it's maybe in the /etc/ folder instead. There is a crontab file but that didn't work. There are also: - crontab.d - crontab.daily - crontab.weekly - crontab.monthly folders in this directory as well. Link to comment Share on other sites More sharing options...
Megalith Posted February 14, 2007 Share Posted February 14, 2007 2 ways come to mind easiest is to use crond - just checked and lighttp uses crond or you could try doing this mkdir /etc/cron.2mins open /etc/crontabs/root edit it to include */2 * * * * /usr/bin/run-parts /etc/cron.2mins Having created this config-file, all that is needed is the command "run-parts" creat a small script run-parts and place in /usr/bin A script like this will do the job: #!/bin/sh # # intended for use with cron # if [ -z "$1" ] then echo "Usage : $0 " fi RUNDIR=$1"/*" for i in $RUNDIR ;do [ ! -f "$i" ] && continue case "$i" in *.sh) ( trap - INT QUIT TSTP set start . $i ) ;; *) $i start ;; esac done Remember to chmod the script to be executable : chmod +x /usr/bin/run-parts All that is left to do, is to ensure the cron system get stated at boot-time. Create the file /etc/init.d/S61crond containing: #!/bin/sh crond -c /etc/crontabs -b Make the file executable : chmod +x /etc/init.d/S61crond This should be it! In order to test the cron-system, you could try to make a small script in /etc/cron.2mins called test.sh, like this : #!/bin/sh date >> /tmp/crontest.txt Remember to make it excutable : chmod 755 /etc/cron.2mins/test.sh Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 I don't understand what you mean here: mkdir /etc/cron.2mins open /etc/crontabs/root Neither /cron.2mins or /crontabs exist on the server. Also, only Nite and S0V13T have root server access. Link to comment Share on other sites More sharing options...
Megalith Posted February 14, 2007 Share Posted February 14, 2007 ah right you'd need root access to do it mkdir is make a directory that it doesnt have crontabs folder doesnt help either lol did you try the method in the install readme using crond instead of lynx? Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 So would that be: */6 * * * * crond --dump http://traders.nitescifi.com/scheduler.php?swordfish=* > /dev/null ? I tried that, still got the error message... Link to comment Share on other sites More sharing options...
Megalith Posted February 14, 2007 Share Posted February 14, 2007 */2 * * * * /usr/bin/crond --dump http://localhost/blacknova/scheduler.php?swordfish=**** > /dev/null Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 Nope. But /usr/bin/crond doesn't exist... I don't know if you've asked S0V or Nite yet but you might want to ask for a hosting account so you can help me out :P Link to comment Share on other sites More sharing options...
Megalith Posted February 14, 2007 Share Posted February 14, 2007 i have a hosting account on the server, is that enough to get access? btw however i'm going out to a quiz in a bit and wont be back till 11.30ish Link to comment Share on other sites More sharing options...
TFMF Posted February 14, 2007 Share Posted February 14, 2007 Yes, if you have a hosting account you'll have read access at least. Use an SFTP program to log onto the server. Use the 'Go up one level' or go to the <root> directory to get to the place with /usr or /etc. Link to comment Share on other sites More sharing options...
Megalith Posted February 14, 2007 Share Posted February 14, 2007 cool i'll have a look when i get back :) Link to comment Share on other sites More sharing options...
Megalith Posted February 27, 2007 Share Posted February 27, 2007 seeing as the site lost the image of my bnt game DeadZone heres a later pic with slightly changed frames my development game can be found by going to http://deadzone.co.nr I will also make the total package available from that site so it can be imported onto here :) Link to comment Share on other sites More sharing options...
Amnot Borg Posted February 27, 2007 Share Posted February 27, 2007 on the right, in the cargo and realspace windows, could you move the text over to the right a little? you either click on the border or on set instead of 0 because 0 is so close to the left border of that window. I'm picky, I know. ;D Link to comment Share on other sites More sharing options...
Megalith Posted February 27, 2007 Share Posted February 27, 2007 yeah that can be addressed by placing it central :) I've set up a forum at deadzone for ideas an bugs btw if anyone wants to get involved click the link i posted in my last post and then goto the forum :) I will be putting an alpha version up on march 1st btw so if anyone wants to look over the code feel free to take it. will keep you informed here Link to comment Share on other sites More sharing options...
Amnot Borg Posted March 1, 2007 Share Posted March 1, 2007 I like the fix. only complaint now, is the snarky look of some ships, ugh. some are sharp and snazzy but some are like whoa, get out to the junk yard... Link to comment Share on other sites More sharing options...
mupi Posted March 1, 2007 Share Posted March 1, 2007 I like the fix. only complaint now, is the snarky look of some ships, ugh. some are sharp and snazzy but some are like whoa, get out to the junk yard... so you're volunteering to fix the ship images? great! ;) Link to comment Share on other sites More sharing options...
Amnot Borg Posted March 1, 2007 Share Posted March 1, 2007 I like the fix. only complaint now, is the snarky look of some ships, ugh. some are sharp and snazzy but some are like whoa, get out to the junk yard... so you're volunteering to fix the ship images? great! ;) hmmm, do I have originals to work with? Link to comment Share on other sites More sharing options...
Megalith Posted March 2, 2007 Share Posted March 2, 2007 lol no to originals an theres also copyright issues about that too :( the ships i have are from gunslinger and i have his permission to use his graphics but yeah I'm open to new ships if anyone can do the artwork (i suck at art lol) also the side panel themes are in need of some artistic skills. I'm trying to standardise it so the css files are the same except for the directories which will be the same as the css file title (useful as a programmer :)) i have a mate who does graphic design who i worked with in the past on websites so I'm gonna ask him for his artistic inspiration :) hope he can at least do a few themes for DeadZone and maybe some ships :) the DeadZone project is at an exciting point at the moment with new ideas being introduced on a regular basis. there is an alpha version available at the moment that installs over the top of BNT 0.55 TFMF but I'm working on the artwork at the moment so it would probably be wise if you leave it a few weeks before using it on here. again if anyone would like to be involved in the development side of this be it testing programming or artwork join my forum at http://deadzone.co.nr feel free to join the game also but be aware although the game is due for a reset on may the 4th it could be reset at anytime if a new feature requires it (unlikely tho for a while tbh but i do plan on doing alliance teams with unique ships and that will need the database tables modified) Link to comment Share on other sites More sharing options...
Megalith Posted March 4, 2007 Share Posted March 4, 2007 ah its good to see bnt working again here :) Link to comment Share on other sites More sharing options...
TFMF Posted March 4, 2007 Share Posted March 4, 2007 Yep, and Megalith's modification will be ready soon :) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now