Jump to content

Recommended Posts

Posted

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!

Posted

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.

Posted
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.

 

 

Thanks, Bruce! I figured. It will be a hassle with cron, but I'll make do.

Posted

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?

Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...