This is interesting! Your perl @INC environment variable is correct (here you can see the @INC from one of my test systems):
zenadmin@khazad-dum:~$ perl -le 'print for @INC'
/etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.26.1
/usr/local/share/perl/5.26.1
/usr/lib/x86_64-linux-gnu/perl5/5.26
[b]/usr/share/perl5[/b]
/usr/lib/x86_64-linux-gnu/perl/5.26
/usr/share/perl/5.26
/usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base
The EBox API is deployed in '/usr/share/perl5/EBox'. So the EBox packages are actually included into your @INC array.My 90zentyal-manage-logs file:
root@khazad-dum:~# cat /etc/cron.hourly/90zentyal-manage-logs
#!/bin/bash
/usr/share/zentyal/manage-logs
But , on the contrary than you, if I run the script manually, I haven't any error:
root@khazad-dum:~# bash -x /etc/cron.hourly/90zentyal-manage-logs
+ /usr/share/zentyal/manage-logs
root@khazad-dum:~#
So, your issue deserves some more attention. Could you send here som more info about this issue? Did you install some other perl version in addition to the official one? Did you install your 6.1 from scratch or is this an old zentyal version upgraded to 6.1?
Cheers!