Hi,
So I'm trying to set a script, so it starts on boot. The problem is, I'm using "@reboot" and I don't think that is working.
I have:
The command I'm looking to execute is,
^^using Nano to edit /etc/crontab
or,
^^as syncthing user running crontab -e
Note, I've also tried this without "sh" in the command.
If possible, I would greatly appreciate your help.
Thanks in advance
Edit: I forgot to mention that this is in a jail.
So I'm trying to set a script, so it starts on boot. The problem is, I'm using "@reboot" and I don't think that is working.
I have:
- Tried modifying /etc/crontab as root
- using crontab -e -u syncthing
- tried various commands, IE: "@restart touch /home/syncthing/test"
The command I'm looking to execute is,
Code:
@reboot syncthing "sh /home/syncthing/runsync.sh"
or,
Code:
@reboot "sh /home/syncthing/runsync.sh"
Note, I've also tried this without "sh" in the command.
If possible, I would greatly appreciate your help.
Thanks in advance
Edit: I forgot to mention that this is in a jail.