I've got the following cron job that runs at 6 am every morning:
00 6 * * * /Users/username/path/to/script/wget.pl 1;
The script, written in perl, fetches the latest files from a website.
Within the perl script, the path gets changed with:
However, all the files downloaded aren't getting saved to
/path/to/directory they get saved in
What can I do to get the script to save it in the directory I want?