Posts

Showing posts from June, 2011

Import Contacts in OpenERP

Image
You will be surprised that why I have placed the picture of Gnome Conduit project, as here I have to  talk about importing Contact in to OpenERP. This weekend I was playing with conduit to import the contacts in to OpenERP from the different sources of contacts like .vcf file, Evolution and Google Contacts.  What is Conduit? Conduit is a synchronization application for GNOME. It allows you to synchronize your files, photos, emails, contacts, notes, calendar data and any other type of personal information and synchronize that data with another computer, an online service, or even another electronic device. Conduit manages the synchronization and conversion of data into other formats. For example, Conduit allows you to Synchronize your Tomboy notes with another computer Synchronize your PIM data to your mobile phone, iPod, Nokia Internet tablet, or between computers Install Conduit Installation of conduit is very simple like other software packages, Go to Te...

Command Line Mass Mailing Tool

Image
There are lots of tool for mass-mailing, but this tool is the tool for which i am talking about is based on command line. It is a very simple tool with as much as configurations for applications and mail framework properties. Application Settings All application configurations will be given through the  application.properties where you have to provide the settings like password, email list file, email file, return path, log file , debug option, mailer and mail format like text, html, etc.. Email Settings Email settings file mainly contains all email settings which required by the Java Mailing apis , you may fine complete properties list here. some of the important properties ate are host, port, user name etc.. Application folder - contains all files Setup Email List Application property `application.list` used to pass the email list to the application. This file heaving a very simple format one line is equals to one email address . it means if you wanted to send email ...

PostgreSQL, Automatic Backup and Restore

Image
Automatic Backup Here is a very simple steps for creating the postgreql backup automatically using the linux cron job. you just need to download simple script and have to apply few configurations as listed below.  Create a cron job that will create a back based on your requirements. Run the following command to edit the cron job settings $  sudo crontab -e Add this line at the end of this file @hourly <path to file>/pg_backup.sh service /<path to backup folder>/ For me it seems like this @hourly /home/mantavya/pg_backup.sh service /home/mantavya/backups/ If you wanted to take the backup once a day you should use add like as follows @daily /home/mantavya/pg_backup.sh service /home/mantavya/backups/ Your file should be looks like # For more information see the manual pages of crontab(5) and cron(8) # # m h  dom mon dow   command @hourly /home/mantavya/pg_backup.sh service /home/mantavya/backups/ When cron job runs you will get th...