...
It's best to set this up once and for all in your startup configuration file - run "nano .my.cshrc". Set Java environment and specify nano as your default editor.
- Image Modified
- open a new ssh-connection and run "java -version" (see above)
Commands
- ssh-connect to "analytics" server using your favorite SSH tool. For Windows SecureCRT is offered as standard ssh-software to Broadies. For Mac you can connect through the command line in Terminal.
You will be asked for username/password but interface is pretty straightforward
- run etl-commands as you see fit
...
Code Block |
---|
language | bash |
---|
theme | Emacs |
---|
title | Edit cronjob |
---|
|
sudo -u analytics EDITOR=nano crontab -e |
Manually run a specific cron-job
Code Block |
---|
language | bash |
---|
theme | Emacs |
---|
title | set up Tiger environment variables |
---|
|
setenv TIGER_HOME "/home/unix/analytics/TigerETL3"
setenv RUN3 "/home/unix/analytics/TigerETL3/runEtlAgent.sh" |
Code Block |
---|
language | bash |
---|
theme | Emacs |
---|
title | search for your cron-job entry and copy it in clipboard |
---|
|
sudo -u analytics EDITOR=nano crontab -l | grep Orsp |
Code Block |
---|
language | bash |
---|
theme | Emacs |
---|
title | paste the command and run it |
---|
|
$RUN3 Task db=analyticsetl 'task=sparkJob(agentName=Orsp)' 'delta=MillisDelta.now' |
Image Added
Useful crontab utils:
https://crontab-generator.org/
...