I don't know if all of that can be done in a single cron separated by | or if it has to be in a script file the cron calls. I have never made/called a script before, so I need some help doing that.
When you do the pkgacct, can you specify the name, so you can built it with the date/time?
to rename about 1100 files from SSH. The filenames contain (, ), and spaces, and I'd like to eliminate all of those characters. Can this be done with a simple command?
if it's possible to disable the ability to send email for accounts using a certain package in cPanel? I tried searching, I didn't find anything really relevant. Would it be possible to maybe create a rule, or script to add a rule to each account using a package to just block that username or account from sending email?
To automate a task, I need to create a shell script that will allow me to copy the folder blank/ to a new location and rename it to news/, same for the files inside that directory. And, if possible, change the content of one of those files as well.
For example, I need to copy this:
Code: blank/ templates/ frontend/ index.html Blank.php ...to a new folder and rename it to this:
I've been running a forum for a while now which of course had a database. Now I sold the vBulletin License and I'd like to delete the database that was created for it. How do I do that?
I've looked throught cPanel, but couldn't find an option on deleting a whole database. Might be looking in the wrong sections or something. Can someone help me out?
It would be even better if it is possible to reset my whole server throught cPanel. Is this possible?
I installed RoundCube through cPanel and it won't delete emails. I don't get any error messages or anything. When in Roundmail I select the email to delete and then hit the delete icon or drag to the trash folder it disappears, but when i log back in or click on the inbox again it comes back. Don't know if this is part of the same problem but i also can't access created folders. It shows the folder on the left but when i click on it nothing happens. I have a feeling this is a permissions problem but i can't find the issue. Anyone have any recommendation to try?
I have read alot of forums that say to enable the create folders option in the config file, it is enabled and i still have the same issues.
I've been using CPanel for a few years now and I've encountered an error that I have no clue how to fix it. Basically the files have been with me for the last two or three years and I've changed them from server to server. I'd say these files have been through about four or five servers. The funny thing is I can't delete any of these files. The files are in a folder under public_html and I can't delete the folder or any of the files or folders inside of that folder. I've tried through FTP and through CPanel.
The FTP error I get (I'm using WS_FTP Pro) is:
# transferred 4277 bytes in 0.063 seconds, 534.625 Kbps ( 66.828 Kbps), transfer succeeded. 226-Options: -a -l 226 58
The CPanel error I get (through File Manager) is:
[a fatal error or timeout occurred while processing this directive]
and under the trash can in File Manager:
Unable to change directory to /home/mydirectory/.trash! You do not seem to have access permissions! (System Error: Permission denied)
I even CHMODed all of the files to 777. I don't know how to get rid of these old files, how do I do it? I also have root to the server if that helps.