Tamer Youssef

Just another site

By - Tamer

How to Display (List) All Jobs in Cron / Crontab

ervers can automatically perform tasks that you would otherwise have to perform yourself, such as running scripts. On Linux servers, the cron utility is the preferred way to automate the running of scripts. In this article we’ll cover how to view the jobs scheduled in the crontab list. For an introduction to Cron check-out our KB: How To: Automate Server

By - Tamer

Scheduling Tasks with Cron Jobs

Cron Jobs are used for scheduling tasks to run on the server. They’re most commonly used for automating system maintenance or administration. However, they are also relevant to web application development. There are many situations when a web application may need certain tasks to run periodically. Today we are going to explore the fundamentals of Cron Jobs. Definitions First let’s

By - Tamer

How to Block or Allow Specific Ports by Country in the CSF Firewall

How to Back up and Restore the CSF Firewall Configuration How to Block Traffic by Country in the CSF Firewall How to Allow Traffic by Country in the CSF Firewall How to Block or Allow Specific Ports by Country in the CSF Firewall Basic DoS/DDoS Mitigation with the CSF Firewall In addition to being able to manage traffic from a

By - Tamer

Retrieving the ID of the last inserted record

When you add a new record to a SQL Server table that has an identity column, you usually want to read back the auto-generated ID, for example to use it as a foreign key in another table. If you use stored procedures this is easy to do: just use an output parameter that you set as follows: SET @NewID =