More information in original Original Post
In order to use ssh without password with jenkins slave:
$ssh-keygen -t rsa
$ssh-copy-id -i ~/.ssh/id_rsa.pub MY_USER@MY_SERVER
$ssh MY_USER@MY_SERVER
sshfs example.com:/stuff /media/home-pc
Original Post Copy the file “foobar.txt” from a remote host to the local host
$ scp your_username@remotehost.edu:foobar.txt /some/local/directory
Copy the file “foobar.txt” from the local host to a remote host
$ scp foobar.txt your_username@remotehost.edu:/some/remote/directory
tar -zxvf file.tar.gz
find -iname '*.wav' -exec soxi -D '{}' \; | awk '{ SUM += $1} END { print SUM }'
print file name an length
find -iname '*.wav' -exec sh -c "echo -n '{},'; soxi -D {}" \;> test.csv
Add silence 0.25s
find -iname '*.wav' -exec sh -c "echo -n '{},'; sox {} {}.wav pad 0.25 0.25; mv {}.wav {}" \;
This post should represent how it is possible on reboot start the application like tomcat.
More information Cron can be found: Original Post
It is possible define some time moments when some application should be executed. Also it can be used keywords like @reboot
First of all login to remote server as regular user(e.g. ssh MY_USER@MY_SERVER)
Access user lever cron configuration run in command line:
$ crontab -e
text editor should show up. and you should add line in the end of the file with time and command like
@reboot /home/MY_USER/tools/tomcat6nodes/tomcat_node6/bin/startup.sh
this will start tomcat shell command “startup.sh” after reboot.