Hello there,
I'd like to run a script at system startup as a particular user. I've tried the SME Crontab Manager, but that only allows timed jobs rather than on reboots.
I looked into using the @reboot option in the main crontab, but that only appears to default to running by the root user.
I also tried to create a crontab for that particular user using 'sudo crontab -u xxxxx', and that didn't work.
Lastly I had a quick look at /etc/init.d/functions but got a bit confused at that point.
What's the best way to do this in SME server?
Thanks!