Print out all ETL cron-jobs
sudo -u analytics crontab -l
Lookup specific cron-job
sudo -u analytics crontab -l | grep PoolingCalculator
Edit cronjob
sudo -u analytics EDITOR=nano crontab -e
Restart Spark
sudo -u analytics /local/spark/restartSpark.sh
Check overall health/load on the server
htop
How to (re) start the WebServer
Resume WebServer screen
sudo -u analytics screen -r WebServer
- IF successfuly resumed the screen THEN kill the web-server (and stay in the screen)
Ctrl-C
- IF There is no screen to be resumed THEN enter new screen
sudo -u analytics screen -S WebServer
From within WebServer screen Run the web-server and THEN close that window (don't worry - server would be still running)
/home/unix/analytics/TigerETL3/runWeb.sh