job scheduling in linux using crontab


allows tasks to be automatically run in the background at regular intervals. You could also use it to automatically create backups, synchronize files, schedule updates, and much more.

run :

sudo crontab -e

This will open the crontab using the default editor.

Here is the format to add cronjobs:

* * * * * /bin/execute/this/
Continue Reading

grep regular expression

grep command

The grep program is a standard UNIX utility that searches through a set of files for an arbitrary text pattern, specified through a regular expression. By default, grep is case-sensitive (use -i to ignore case). By default, grep ignores the context of a string (use -w to match words only). By default, grep shows the lines that match (use -v to show those that don’t match).

Continue Reading

How to restrict certain extentions to call international numbers only

Custom Context

This is done using custom context module. If you’re using Elastix you must install this module (refer to Elastix witout tears)

Custom Contexts creates contexts that can be used to allow limited access to dial-plan

  • Allows for time restrictions on any dialplan access.
  • Allows for pattern matching to allow/deny.
  • Allows for failover destinations, and PIN protected failover.
  • This can be very useful for multi-tenant systems.
  • Inbound routing can be done using DID or zap channel routing, this module
  • allows for selective outbound routing.
  • Phones can be placed in a restricted context allowing them only internal calls.
Continue Reading

File sharing with dropbox

Dropbox is a web-based file hosting service operated by Dropbox, Inc. that uses cloud computing to enable users to store and share files and folders with others across the Internet using file synchronization. It was founded in 2007 by Drew Houston and Arash Ferdowsi.

There are both free and paid services, each with varying options. In comparison to similar services, Dropbox offers a relatively large number of user clients across a variety of desktop and mobile operating systems. The free service provides 2 GB of free online storage.

Continue Reading