I'm using rclone to access my google drive folders from my router, I can mount my GD to my router's directory just fine with this command rclone mount --daemon GD: /mnt/GD
When I use that command as a crontab, the crontab line of that command always gets removed after every reboot and then my crontab is empty, here's my crontab configuration:
@reboot /usr/bin/rclone mount --daemon GD: /mnt/GD
My only question is how do I mount my Google Drive account successfully on every boot ?
Although @reboot is not working in OpenWrt, are you certain that you don't have any other issues causing the removal of the entry? Some read-only filesystem for example?
I have the same problem. I read on the rclone site that you can do the classic mount command and ateobuir in fstab. (sftp1:subdir /mnt/data rclone rw,noauto,nofail,_netdev,x-systemd.automount,args2env,vfs_cache_mode=writes,config=/etc/rclone.conf,cache_dir=/var/cache/rclone 0 0) but the explanation is for systemd . In the openwrt fstab I had doubts about how to do it. Can anyone shed some light? (rclone link: https://rclone.org/commands/rclone_mount/)