Print out all ETL cron-jobs
sudo -u analytics crontab -l
Print out specific cron-job
sudo -u analytics crontab -l | grep PoolingCalculator
Print out Spark cron-jobs
sudo -u analytics crontab -l | grep spark
Edit cronjob
sudo -u analytics EDITOR=nano crontab -e
Restart Spark
sudo -u analytics /local/spark/restartSpark.sh
Run EtlShell
/home/unix/analytics/TigerETL3/runEtlShell.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 you get message "...WebServer (Attached)" this means that somebody else has opened WebServer screen. In which case you better find and followup with him/her OR you can kill the WebServer screen on your own and restart the server.
- 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