I created a batch file that, among other things, syncs a samba share. The batch file runs fine when I start ffs manually.
I also created a cron task to run the batch job. This "works" -- ffs runs --, but the log indicates that ffs cannot find the share. "Error: Cannot find the following folders:
/run/user/1000/gvfs/smb-share:server=####,share=*****"
FFS is in /opt and is owned by and runs as root; the cron job also runs as root. How can I get the cron job to work?
UBUNTU 18.04 CRON JOB
- Posts: 2
- Joined: 26 Sep 2019
- Site Admin
- Posts: 7285
- Joined: 9 Dec 2007
You might have to mount the share: viewtopic.php?t=5282#p18527
- Posts: 2
- Joined: 26 Sep 2019
I should have mentioned that I have done that. The share is mounted and appears in the Nautilus "Files" tab. I think that if it were not mounted ffs would not run the batch job successfully manually.
- Posts: 14
- Joined: 28 Sep 2019
Could you post your command line to run the ffs batch? I am having trouble getting it to trigger (Mint 19.2)