Cron entry

Hi

I have a system running solaris 11 , in which I am able to execute a script from the command line, but once I put i the crontab does run, but do not give results.
The entry is:

15 11 * * * /var/oswbb/./startOSWbb.sh >> myjob.log 2>&1
30 11 * * * /var/oswbb/./stopOSWbb.sh

I have check permissions of the script in its directory and all have the right permissions, but owner and group are numbers:

-rwxr-xr-x   1 2052     8500        2574 Feb 26  2015 startOSWbb.sh

I also check the /var/log/cron and got the following:

>  CMD: /var/oswbb/./startOSWbb.sh >> /var/log/myjob.log 2>&1
>  root 29486 c Fri Apr 27 10:55:00 2018
<  root 29486 c Fri Apr 27 10:55:00 2018
>  CMD: /var/oswbb/./stopOSWbb.sh
>  root 29491 c Fri Apr 27 10:59:00 2018
<  root 29491 c Fri Apr 27 10:59:00 2018 rc=2
>  CMD: /var/oswbb/./startOSWbb.sh >> myjob.log 2>&1
>  root 29562 c Fri Apr 27 11:15:00 2018
<  root 29562 c Fri Apr 27 11:15:00 2018
>  CMD: /var/oswbb/./stopOSWbb.sh
>  root 29578 c Fri Apr 27 11:30:00 2018
<  root 29578 c Fri Apr 27 11:30:00 2018 rc=2

rc=2 aparently means file do not exist, but its not the case.
Any suggestions

rc=2 means exit status 2.
This is not from "file not found" (which is rc=127 in Solaris),
but from something in the stop script.
You can expect some diagnostics on stderr, and this by default is sent via mail to the user. Here the user is root, so check root's mail!
Or also redirect it to the log file with >> /var/log/myjob.log 2>&1 , and have a look in the log file.

Hi
Thanks for the reply, but there is noting on my logfile myjob.log and there is nothing on it, I suppose meaning no errors...

even a simple entry in the cron like:

30 12 * * * /usr/bin/pwd; ls -lrt

does not work