I have a website hosted by successfulhosting on a Redhat system (i think!):
-sh-3.00$ cat redhat-release
CentOS release 4.5 (Final)
Everything is working great, but I want to execute a little shell script that kicks off a php script that polls the mailbox, and scrapes new mail into a database. The script is written, and works fine, but I want it to autostart after a reboot so that it's always running.
I've looked around for ages on the web about where to put startup scripts, and they all seem to say add it to rc.local or /etc/init.d or something.
Everything not in my home directory is owned by root, though, so how do I do this? I can ssh in fine, but don't know what to do from there..
Thanks for any help - I'm slowly learning about linux, but it seems a very steep learning curve!