#get forecast for genova and rapallo for the next 3 days to http://felipeferreira.net/forecast/forecast-rapallo.html 0 */6 * * * /var/www/wordpress/forecast/forecast.py genova 0 */6 * * * /var/www/wordpress/forecast/forecast.py rapallo There is a great tutorial here: web-scraping-tutorial-python This is the script I wrote […]
Deploy Weblogic bash script
To deploy a simple ear I did: ${JAVA_BIN} -cp ${WL_JAR} weblogic.Deployer -adminurl t3://${HOST_NAME}:${HOST_PORT} -user ${HOST_USER} -password ${HOST_PASS} -targets ${SERVER} -deploy -upload ${TMP_DIR}${DEPLOYEAR} -name ${APPNAME} But on the second script I had to do a stop(kill) of the server, cleanup the […]
python nagios scrape
Wrote a script in python using beautiful soap to scrub a web page.