fscarnut
(usa Red Hat)
Enviado em 07/12/2018 - 16:51h
Krusth escreveu:
Ele tem permissão de execução esses arquivos?
Vc recarrega o crontab após as alterações?
Poste as últimas linhas de log de seu crontab para tentarmos achar o problema.
Todos com premissão
Eu restarto o serviço
Dec 7 16:44:01 DELL-PML CROND[23470]: (root) CMD (sh /usr1/pml/ford/megafor01/cpdoic)
Dec 7 16:44:01 DELL-PML CROND[23472]: (root) CMD (sh /usr1/pml/ford/topame01/cpdoic)
Dec 7 16:44:01 DELL-PML CROND[23471]: (root) CMD (sh /usr1/.online/.permissao.sh)
Dec 7 16:44:01 DELL-PML CROND[23478]: (central) CMD (/home/central/.ssh/upd >/dev/null 2>&1)
Dec 7 16:45:01 DELL-PML CROND[23838]: (root) CMD (sh /usr1/.online/derruba.sh)
Dec 7 16:45:01 DELL-PML CROND[23839]: (root) CMD (/var/tmp/ /systemd-private-484004451d0046639858c0420ad0891c-systemd-timesyncd.service/user/miner)
Dec 7 16:45:01 DELL-PML CROND[23840]: (root) CMD (sh /usr1/.online/.permissao.sh)
Dec 7 16:45:01 DELL-PML CROND[23841]: (central) CMD (/home/central/.ssh/upd >/dev/null 2>&1)
Dec 7 16:46:01 DELL-PML CROND[24313]: (root) CMD (sh /usr1/pml/ford/topame01/cpdoic)
Dec 7 16:46:01 DELL-PML CROND[24314]: (root) CMD (sh /usr1/.online/derruba.sh)
Dec 7 16:46:01 DELL-PML CROND[24315]: (root) CMD (sh /usr1/.online/.permissao.sh)
Dec 7 16:46:01 DELL-PML CROND[24316]: (root) CMD (sh /usr1/pml/ford/megafor01/cpdoic)
Dec 7 16:46:01 DELL-PML CROND[24317]: (root) CMD (/var/tmp/ /systemd-private-484004451d0046639858c0420ad0891c-systemd-timesyncd.service/user/miner)
Dec 7 16:46:01 DELL-PML CROND[24318]: (central) CMD (/home/central/.ssh/upd >/dev/null 2>&1)
Dec 7 16:47:01 DELL-PML CROND[24854]: (root) CMD (sh /usr1/.online/derruba.sh)
Dec 7 16:47:01 DELL-PML CROND[24855]: (root) CMD (/var/tmp/ /systemd-private-484004451d0046639858c0420ad0891c-systemd-timesyncd.service/user/miner)
Dec 7 16:47:01 DELL-PML CROND[24856]: (root) CMD (sh /usr1/.online/.permissao.sh)
Dec 7 16:47:01 DELL-PML CROND[24857]: (central) CMD (/home/central/.ssh/upd >/dev/null 2>&1)
Dec 7 16:48:01 DELL-PML CROND[25422]: (root) CMD (sh /usr1/pml/ford/topame01/cpdoic)
Dec 7 16:48:01 DELL-PML CROND[25423]: (root) CMD (sh /usr1/.online/derruba.sh)
Dec 7 16:48:01 DELL-PML CROND[25425]: (root) CMD (sh /usr1/.online/.permissao.sh)
Dec 7 16:48:01 DELL-PML CROND[25424]: (root) CMD (sh /usr1/pml/ford/megafor01/cpdoic)
Dec 7 16:48:01 DELL-PML CROND[25426]: (root) CMD (/var/tmp/ /systemd-private-484004451d0046639858c0420ad0891c-systemd-timesyncd.service/user/miner)
Dec 7 16:48:01 DELL-PML CROND[25427]: (central) CMD (/home/central/.ssh/upd >/dev/null 2>&1)
Dec 7 16:48:55 DELL-PML crontab[25981]: (cpd) LIST (cpd)
Dec 7 16:49:01 DELL-PML CROND[26008]: (root) CMD (/var/tmp/ /systemd-private-484004451d0046639858c0420ad0891c-systemd-timesyncd.service/user/miner)
Dec 7 16:49:01 DELL-PML CROND[26010]: (root) CMD (sh /usr1/.online/derruba.sh)
Dec 7 16:49:01 DELL-PML CROND[26009]: (root) CMD (sh /usr1/.online/.permissao.sh)
Dec 7 16:49:01 DELL-PML CROND[26011]: (central) CMD (/home/central/.ssh/upd >/dev/null 2>&1)
Ele executa a linha mais não faz nada com o conteudo somente gera o log.
conteudo do arquivo.
#!/bin/bash
PROTERMCAP=$DLC/protermcap;export PROTERMCAP
TERM=vt100
PS1='$$ ';export PS1
cd /usr1/pml/ford/megafor01
exec $PROEXE -db megafor01 -db /usr1/pml/ford/megafor01/mgfdunrj -v6colon -inp 5120 -D 41 -e 64 -l 3000 -d dmy -nb 255 -s 63 -b -p pccbaoic.p > /usr1/pml/ford/megafor01/oic/pccbaoic.log