[root@middle2:/var/spool/cron/crontabs] crontab --help
-sh: crontab: not found
[root@middle2:/var/spool/cron/crontabs]
kill $(cat /var/run/crond.pid)
crond
stage('uploader ) {
steps {
sh """docker exec '${CONTAINER_NAME}' sh -c 'cd /home/job_dir \
&& ls \
&& find . -name '*.prg' -exec curl --ftp-ssl --insecure --user \${USER_FTP}:\${PASSWORD_FTP} --upload-file '{}' --ftp-create-dirs \${REMOTE_DIR}/h1 \\- \\;
&& exit'"""