problem with cron job

Status
Not open for further replies.

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
when i schedule the cron job i get these errors -

Syntax error: EOF in backquote substitution
Syntax error: Error in command substitution

when i hit run now in the gui it works.

here is the command i was running

rsync -avs --backup --backup-dir="/mnt/FreeNAS/First Backup/Home Video/Changes/" --suffix=_`date +"%m%d%Y_%H%M"` "/mnt/Working/Home Video/" "/mnt/FreeNAS/First Backup/Home Video/"

can somebody help me with the formatting so that i can run it as scheduled as well as using the run now button.

thank you
 
Last edited:

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
i couldn't get this to work as a cron command.

i put it in a script and it works now
 
Status
Not open for further replies.
Top