ow do I to disable the mail alert send by crontab? When my job is executed and the jobs cannot run normally it will sent an email to root. Why do I receive e-mails to my root account from cron? How can I prevent this?
By default the output of a command or a script (if any produced), will be email to your local email account. To stop receiving email output from crontab you need to append following string:
Cron Job Prevent the...
Thứ Bảy, 31 tháng 1, 2015
Disable The Mail Alert By Crontab Command
Read More
Delete all root mail / inbox from a shell prompt
The easilst way is to empty root / users email message file i.e. /var/spool/mail/root or /var/spool/mail/username. Simply type the following command at shell:
> /var/spool/mail/root
OR
cat /dev/null > /var/spool/mail/root
OR
echo "" > /var/spool/mail/ro...
Thứ Tư, 28 tháng 1, 2015
How to fix Kali Linux apt-get slow update?
This is a small guide on How to fix Kali Linux apt-get slow update.Kali is relatively new and got fewer Mirrors than some other distro’s. That means less servers to download from and less servers means more people trying to download from them and using all bandwidth. So when you type in apt-get update, you see a slow download speed for packages. This just means you’re connected to a server that’s really busy. Some users complains...
Thứ Ba, 27 tháng 1, 2015
Ubuntu: How to run scripts on start up?
1>
One approach is to add an @reboot cron task:
Running crontab -e will allow you to edit your cron.
Adding a line like this to it:
@reboot /path/to/script
will execute that script once your computer boots up.
2>
How about adding the command to /etc/rc.local? you'll have to use sudo access though to edit this file.
sudo nano /etc/rc.lo...
CloudLinux LVE Custom PHP.ini options
PHP Selector allows customer to edit php.ini settings. Admin has a full control over which settings can be modified.To allow settings to be modifiable, it has to be whitelisted in:
/etc/cl.selector/php.conf
Here are some of the examples of allowed directives:
Directive = safe_modeDefault = OffType ...
Thứ Hai, 19 tháng 1, 2015
How To Fix error HRESULT 0xc8000222 In Net Framework Installation

Some applications require the latest version of net framework pre-installed before you can run them. If you don't have the latest version pre-installed, You need to install it separately to replace the outdated one in your machine (Link for the latest net framework download : http://www.microsoft.com/net/download).
The problem we often...
Cannot upgrade WordPress or a WordPress Plugin: Could not open handle for fopen() to /tmp/
Should you receive an error message about not being able to write or open a file in "/tmp" when upgrading WordPress or a WordPress plugin, please add this line to the bottom of your "wp-config.php" file:
define('WP_TEMP_DIR',ABSPATH.'wp-content/uploads/');
This line will result in WordPress using your "/wp-content/uploads" folder to store temporary files required during the upgrade process instead of the system-wide...
Chủ Nhật, 18 tháng 1, 2015
How to export PUTTY Sessions List
How to export PUTTY Sessions List
You can export it simply by:
regedit /e "%userprofile%\desktop\putty-sessions.reg" HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions
Or:
regedit /e "%userprofile%\desktop\putty.reg" HKEY_CURRENT_USER\Software\SimonTatham...
Thứ Sáu, 16 tháng 1, 2015
How To Downgrade WordPress Version 4.0.1 to 3.9.2
How To Downgrade WordPress Video Tutorial
The following video will show you exactly how I downgrade to a previous version of wordpress. In the video I downgrade from wordpress version 4.0.1 to version 3.9.2, but it doesn’t matter what version you’re currently using or want to restore as it’s the same process. I’m also going to cover how...
Đăng ký:
Bài đăng (Atom)