1. dump the content of the existing crontab to a file # crontab > /tmp/dump
2. echo “your lines” >> to the corntab file # echo ” 00 1 * * * /monitor_file_system 2>/dev/null” >> /tmp/dump
3. import the new crontab # crontab /tmp/dump
other option…. # crontab -e
It will open a editor, add job here like
00 1 * * * /monitor_file_system 2>/dev/null
Set cronjob from other server:
# crontab -e
0 0 * * * curl http://www.domain.com/svnlabs.php
here svnlabs.php file is located on different server…
and save this crontab files…. now cronjob successfully installed 🙂
CakePHP is the rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. It follows design patterns like MVC and ORM, CakePHP reduces development costs and helps developers write less code.
Features of CakePHP:
– Extremely Simple.
– Active, Friendly Community.
– Flexible License.
– Clean IP
– Best security, authentication, and session handling.
– Compatible with PHP versions 4 and 5.
– Integrated CRUD for database interaction
– Application scaffolding
– Code generation
– MVC architecture
– Flexible ACL
– Data Sanitization
– Flexible Caching
– Request dispatcher with custom URLs
– Built-in validation.
– Email, Cookie, Security, Session, Request Handling etc.
1.Boot 2 linux servers on EC2
2.Assign elastic IP to each of them
3.Register a domain (eg svnlabs.com)
4.On the domain settings – create 2 host records – ns1.svnlabs.com and ns2.svnlabs.com and point each record to each of the elastic IPs.
5.On your 2 nameserver instances – create dns zone for ns1. and ns2 respectively
6.Make ns2 a slave of ns1 – you can if you wish add ns3… ns4.. etc etc but its not necessary unless your site is getting millions of users.
7.Boot another EC instance and install the Scalr application.
8.Create a user on ns1. called “named” that has permissions to update the dns zone records on ns1.
9.The DNS settings of the scalr application will refer to the nameservers ns1. with user “named” and password as set on ns1.
10.Your application for example will have the domain svnlabs.com. Register this domain and set its nameservers to your ns1. and ns2 mentioned previously.
11.You need to first create a new zone file on ns1 for svnlabs.com
12.In Scalr when asked for the application domain name – simply enter svnlabs.com – and scalr will handle the rest.
You will need to register a domain name with a domain registrar. After registering, you will need to enter your NS records for the domain name. The NS records should point to a Domain Name Server (DNS). Most registrars require at least two DNS servers to eliminate a single point of failure.
Some registrars provide free DNS services. If you choose such a registrar, you would need to add a CNAME record for your sub-domain and ask any DNS application support related questions to your registrar.
Alternatively, you can launch and configure your own DNS servers on Amazon EC2. A popular choice for Linux based DNS servers is BIND: http://en.wikipedia.org/wiki/BIND
Another option is to outsource your DNS servers using a third-party provider, for example http://www.dyndns.com/.
Quanta Plus is a web development tool for the K Desktop Environment. Quanta is designed for quick web development and is rapidly becoming a mature editor with a number of great features and lies at the heart of the KDE Web Dev suite of tools.
Bluefish is a powerful editor targeted towards programmers and webdesigners, with many options to write websites, scripts and programming code. Bluefish supports many programming and markup languages, and it focuses on editing dynamic and interactive websites.