If you regularly work with scripts on any Unix or Linux platform and it gets killed when you log out from ssh, the session dies or the scripts stop working after x time then you need to down it and fork it to the background.
So instead of running
/your/script/filename
run
nohup /your/script/filename &
What this does is start the script, the nohup downs the scripts (meaning that it has no owner so you can log out without killing the process) and the & at the end sends the process to the background. This is the alternative method to run something from within screen but this version works well with a crontab.
FYI the crontab is a file and a program (both named the same) that executes commands (opening files, sending email, any command that you could do via the regular shell) at specific interval or times.
ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

Comments are closed.