I need someone to help me out to upload script on host but I have problem can anyone help me out ?
This is an example of running a job via 'ssh' on a target host:
## minute, hour , day of the month, month of the year, day of the week script
## (0-59) (0-23) (1-31) (1-12) (0-6 0-Sunday)
##--------------------------------------------------------------------------------------------------
00 13 * * 0 ssh user@target_host '. ./.profile;nohup /path/to/script_name.pl >>/path/to/logs/script_name.log 2>&1 &'
bakunin
1 Like