Cron gets a restricted user environment. Paths are default, there aren't any user defined env values. So you can either make a file with env variables needed and have it sourced at the start of script ...
I have the following expect script that copies a nightly tar archive to another server using scp. Code: #!/usr/bin/expect -f set date [read -nonewline stdin] set file ...
当前正在显示可能无法访问的结果。
隐藏无法访问的结果