I will have a look at the link. In the meantime, the command that is being issued is being issued from the root user crontab and it is "greyhole --fsck --checksums". Here is the relevant snippet from the crontab:I think I know what is happening: the testparm executable is used to get your Samba config.What is the exact command you execute? What user is it executed with, from the command line?When I run the command manually from the command line the command executes just fine, however when I try to run it as a cron job I receive an error
Code: Select all
fsck: Found a share (Books) defined in /etc/greyhole.conf with no path in /etc/samba/smb.conf. Either add this share in /etc/samba/smb.conf, or remove it from /etc/greyhole.conf, then restart Greyhole.
What is the exact cron line, and in what file is it defined (if defined in crontab, for what user)?
Also: see https://github.com/gboudreau/Greyhole/wiki/GetHelp > Gather system information
It's used without specifying a path, so the current user's PATH is used to find it. When run within cron, you're probably missing the /usr/bin/ folder in your PATH, thus why you get this error.
Ref: http://askubuntu.com/questions/23009/re ... s-not-work
Code: Select all
0 23 * * 6 greyhole --fsck --checksums # JOB_ID_7