4

What is the 'working directory' when cron executes a job

view full story
linux-howto

http://unix.stackexchange.com – I have a script that works when I run it from the command line, but when I schedule it with cron I get errors that it cannot find files or commands. My questions is two fold: When I schedule a cron job by using crontab -e does it use my user ID as the basis for it's permissions? Or does it use a cron user ID of some sort and its' related permissions. When a cron job is launched, what is the working directory? Is it the directory where I specify the script to run, or a different directory? Here is my cron job: 15 7 * * * /home/xxxx/Documents/Scripts/email_ip_script.sh Where is the act (HowTos)