Ok here is the deal ( I am about ready to pull out all my hair and teeth lol which would make me a very ugly woman )
This is my crontab:
Code:
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
00 0 * * * root /etc/cron.daily/brokenbridge.sh
00 1 * * * root /etc/cron.daily/dream.sh
00 2 * * * root /etc/cron.daily/sumor.sh
00 4 * * * root /etc/cron.daily/intrepid.sh
00 6 * * * root /etc/cron.daily/misfortune.sh
00 8 * * * root /etc/cron.daily/bamboo.sh
00 10 * * * root /etc/cron.daily/sirrywine.sh
00 11 * * * root /etc/cron.daily/ADC1.sh
30 11 * * * root /etc/cron.daily/ADC2.sh
00 12 * * * root /etc/cron.daily/ADC3.sh
30 12 * * * root /etc/cron.daily/ADC4.sh
00 13 * * * root /etc/cron.daily/ADC5.sh
00 14 * * * root /etc/cron.daily/northbarrier.sh
00 16 * * * root /etc/cron.daily/walled.sh
00 18 * * * root /etc/cron.daily/tusk.sh
00 20 * * * root /etc/cron.daily/arrivals.sh
00 22 * * * root /etc/cron.daily/shatice.sh
00 23 * * * root /etc/cron.daily/1K.sh
45 0,2,4,6,8,10,12,14,16,18,20,22 * * * root /etc/cron.hourly/voteAWE.sh
45 1,3,5,7,9,11,13,15,17,19,21,23 * * * root /etc/cron.hourly/welcome.sh
#
This is what my .sh's look like:
Code:
#!/bin/sh
wget http://my.test.server.!:8080/PWServer/jetty-7.2.0/webapps/pwAdmin/jsp/1K.jsp
rm *jsp*
This is what my .jsp's look like:
Code:
<%@page contentType="text/html; charset=GBK"%>
<%@page import="java.lang.*"%>
<%@page import="java.util.*"%>
<%@page import="java.text.*"%>
<%@page import="org.apache.commons.lang.StringEscapeUtils"%>
<%@page import="protocol.*"%>
<%@page import="com.goldhuman.auth.*"%>
<%@page import="com.goldhuman.util.*"%>
<%@page import="org.apache.commons.logging.Log"%>
<%@page import="org.apache.commons.logging.LogFactory"%>
<%@page import="java.io.*"%>
<%@page import="java.sql.*"%>
<%
//
// Coded by [B]aSH from Vendetta Gaming Network.
//
String msg = "Thousand Streams is under attack. Can anyone protect it?";
try {
protocol.DeliveryDB.broadcast((byte)9,-1,msg);
}
catch (Exception e)
{
out.println("<font color=red>Error Attempting to Broadcast Message!</font>");
}
%>
<%
out.println("<font color=green>Successfully Sent Broadcast Message!</font>");
%>
And I am running my test server on Debian 6.0, with ronny1982's server setup with MySQL.
I can't get the auto announcements to run at all. I'm dieing here any suggestions, Please. Thanks guys.