Please help.
I have a cron job that is not working. The cron job calls a script that works fine in shell. I have placed the script in /bin. the script is
#!/bin/sh/
rsync -avz /mnt/TwoTerra/Documents /mnt/TwoFiftygig
..so its very simple.
I have set the cron job to user-root and command to /bin/testy1 (the name of the script in /bin)
The error email i receive is
/bin/testy1.sh: {rtf1ansiansicpg1252cocoartf1504cocoasubrtf820: not found
/bin/testy1.sh: 2: Syntax error: "}" unexpected
I'm using FreeNAS-11.0-RC2 (a4687be8c)
Thanks.
I have a cron job that is not working. The cron job calls a script that works fine in shell. I have placed the script in /bin. the script is
#!/bin/sh/
rsync -avz /mnt/TwoTerra/Documents /mnt/TwoFiftygig
..so its very simple.
I have set the cron job to user-root and command to /bin/testy1 (the name of the script in /bin)
The error email i receive is
/bin/testy1.sh: {rtf1ansiansicpg1252cocoartf1504cocoasubrtf820: not found
/bin/testy1.sh: 2: Syntax error: "}" unexpected
I'm using FreeNAS-11.0-RC2 (a4687be8c)
Thanks.