On Thu, 22 Oct 2015, Ryan Coleman wrote: > Why would a mv command in cron under a user return “cannot stat” but > when I copy/paste the command in the terminal that it is running the > command executes without complaint? Are you supplying a full path? > This is tied to my quarter-hour spam scanning program. This is being run > under the user “spamd” and the commands that fire back ‘cannot stat’ > that actually have files in the directories will process if done > manually, but not of the bash script. > > Could it be related to the #!/bin/bash declaration at the beginning of > the script? It's a script? You might try adding -l at the end of that line: #!/bin/bash -l See if that helps. Mike