Search Results

Search: Posts Made By: postcd
2,558
Posted By postcd
thx, I dont know why, but when i remove pkill...
thx, I dont know why, but when i remove pkill command from cronjob line, script is executed and works..

Dont works:
* * * * * pkill -f domexpcheck;sh /root/dom/domexpcheck.sh

* * * * * pkill...
2,558
Posted By postcd
thx, i have variables like: cd /root/folder ...
thx, i have variables like:

cd /root/folder
variablename=filename

(so without /full/path/filename) can this be the cause of cron failure?
2,558
Posted By postcd
Bash script dont works when executed as cronjob
Hello,

i have cronjob:

crontab -l
* * * * * pkill -f domexpcheck;sh /root/dom/domexpcheck.sh

it runs:

/var/log/cron
Mar 25 12:11:01 vps crond[17808]: (root) CMD (pkill -f domexpcheck;sh...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 04:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy