计划任务Ubuntu - 没有这样的文件或目录

时间:2016-02-17 16:22:34

标签: batch-file ubuntu scheduled-tasks

我试图安排一项任务,以便每天备份。我使用的是Ubuntu 15.10。对于备份,我使用带有计划任务的freefilesync。在freefilesync中,它生成了一个批处理文件来执行任务。当我从命令行执行此批处理strait时,它可以正常工作。当我从Schedule Tasks执行它时,我收到此错误:

/home/fernando/BatchRun.ffs_batch: line 1: ?xml: No such file or directory
/home/fernando/BatchRun.ffs_batch: line 2: FreeFileSync: No such file or directory
/home/fernando/BatchRun.ffs_batch: line 3: MainConfig: No such file or directory
/home/fernando/BatchRun.ffs_batch: line 4: Comparison: No such file or directory
/home/fernando/BatchRun.ffs_batch: line 5: Variant: No such file or directory
/home/fernando/BatchRun.ffs_batch: line 6: Symlinks: No such file or directory
/home/fernando/BatchRun.ffs_batch: line 7: syntax error near unexpected token `1'
/home/fernando/BatchRun.ffs_batch: line 7: `            <IgnoreTimeShift>1</Igno'eTimeShift>
Press ENTER to continue and close this window.

我读过一些关于chroot环境的内容,但我无法得到解决方案。

0 个答案:

没有答案