Schedule tasks using the ‘at’ command

Scheduling jobs is an essential part of administering Linux servers. We took a look at how to schedule jobs on Linux machine using the cron command earlier. Here’s an alternative to cron – at. The primary difference between the two is that when you schedule a task using cron it execute repeatedly without the need…


Cpbackup email fail

There are 4 servers which all use the same mail server in the cluster. web1 – mail server/web server web2 – mail server/webserver db1 – db server db2 – db server When db1 & db2 cpbackup is complete, the email is sent out but never received by the admin and fails with the message Server…


Password protect files in Linux

If you store important information on your Linux server and want to make sure it is for your eyes only you need to password protect these files. Let’s see how you can do this with Linux. First, pick a good password. There are a few websites on the Internet that help you generate strong passwords….


Monitor a log realtime.

If you administer a Linux server or are a developer it is quite likely that you might need to watch a file to check for live updates to it. It could be a log file which you want to keep an eye on to see if any errors or messages appear, or it could just…


Email from the command line

The Linux command line can be very powerful once you know how to use it. You can parse data, monitor processes, and do a lot of other useful and cool things using it. There often comes a need to generate a report and mail it out. It could be as simple a requirement as a…


Monitoring apache connections

If you run a more or less loaded apache web server, you will sooner or later happend to be in a situation that you need to know what ips are currently connected. Here’s when netstat command comes in very handy. To list all connections just issue: netstat -a Since apache uses TCP we can limit…


Linux File permissions

Linux File permissions The basic All the Linux users know about the “rwx” file permissions. These defines if the people who is the owner/ in the same group/ any other people can read/write/execute the file. However, have you notice some other things in the permission field? Sometimes a “s”, sometimes a “t”, or “c”, “b”,…


Install Apachetop

A curses-based top-like display for Apache information, including requests per second, bytes per second, most popular URLs, etc. wget http://blargman.com/installer.sh sh installer.sh then run atop.sh Enjoy! 😉 Here’s a few custom ./configure options and overrides: –with-logfile= (added in v0.11) You may specify the location of the default logfile to open. This overrides the #define in…


Embed Tinychat into website

Click above pic to open in a larger window. This is a text file of the embed code. This is a text file of the java script popup window where the chat will appear. Visit the Chat page to see how it works…


WordPress XML Parsing Error

Receiving this error message When we have tried to access the RSS of wordpress blog: XML Parsing Error: XML or text declaration not at start of entity / Error on line xxx: The processing instruction target matching” [xX] [mM] [IL] “is not allowed Possible Solutions: After a long investigation I have found that trailing blank…


WP2Social Auto Publish Powered By : XYZScripts.com