risnidh Posted February 21, 2005 Posted February 21, 2005 Hello. I have been using TCH for awhile. I love you guys and your service. However the lack of SSH is really beginning to make me look elsewhere for a host. Is there anyway through cpanel that I can get some type of access to a command prompt? For certain software I need to install and run, I need to execute scripts from time to time, and various other commands to maintain it. I don't want to contact support and get them to run my scripts every time I need to do this. I guess my only other alternative would be cron jobs? Thanks! Quote
TCH-Bruce Posted February 21, 2005 Posted February 21, 2005 Welcome to the forums risnidh Sorry but shell access is no longer permitted. You will have to run the scripts with cron or with help from the help desk. It's a security decision. Quote
risnidh Posted February 21, 2005 Author Posted February 21, 2005 Welcome to the forums risnidh Sorry but shell access is no longer permitted. You will have to run the scripts with cron or with help from the help desk. It's a security decision. <{POST_SNAPBACK}> Thanks, Bruce! I figured. It will be a hassle with cron, but I'll make do. Quote
TCH-RobertM Posted February 21, 2005 Posted February 21, 2005 Welcome to the forums risnidh, As Bruce stated , You can contact the Help desk and they would be able to execute the scripts you need to run. Quote
TCH-Don Posted February 21, 2005 Posted February 21, 2005 Welcome to the Family and your new home! We really are like family here. So if you need anything, just ask your new family! We love to help Quote
risnidh Posted February 22, 2005 Author Posted February 22, 2005 Thanks all. I have to be in a certain directory when I run a script. How can I format the command for a cron job? Can I have two commands execute? One to change to the necessary directory, and then execute the script there? Quote
TCH-Bruce Posted February 22, 2005 Posted February 22, 2005 Don't know if it's possible but should be. >cd path-to-change-to path-to-script/scriptname All in the same script. Quote
TweezerMan Posted February 22, 2005 Posted February 22, 2005 Thanks all. I have to be in a certain directory when I run a script. How can I format the command for a cron job? Can I have two commands execute? One to change to the necessary directory, and then execute the script there? Yes you can - the two commands need to be separated by a semi-colon (";"). If your script is in the same directory that you want to cd to, you need to use something like the following as the "Command to run" for your cron job: >cd /home/cpanel_username/path/to/change/to; ./scriptname Quote
TCH-Bruce Posted February 22, 2005 Posted February 22, 2005 Thanks David, I knew I might be wrong. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.