Any noob guides to running a scripts / cron jobs?

Status
Not open for further replies.

MrHands

Dabbler
Joined
Jan 7, 2016
Messages
18
Ive been trying to run a script for emailing myself temperatures and the status of my server periodically.

I have the script, when i run it from the shell im emailed the correct information.

However im having a hard time figuring out how to execute the script as a cron job, all the guides assume that i have some level of understanding of cron and where to save the script etc. however i dont.

I just wondered if there was a laymens guide on how to do this, i save my script as a .sh, however i have no idea where to save it and when i 'add Cron Job' i have no idea what to actually put under the entry 'Command:'

can anyone advise or point me in the direction of a guide where i can learn how to use this function?

many thanks.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Thanks, i did read this previously however it doesn't tell me where to save my script or what the the path to the command is.
Put it wherever you like. When you call the script, you call it by its full path...
 
Status
Not open for further replies.
Top