Monthly Archives: June 2011

Import Contacts in OpenERP

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

Continue reading Import Contacts in OpenERP

Command Line Mass Mailing Tool

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 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
Application folder – contains all files

Continue reading Command Line Mass Mailing Tool

PostgreSQL, Automatic Backup and Restore

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 / service //

For me it seems like this
@hourly /home/mantavya/ service /home/mantavya/backups/

If you wanted to take the backup once a day you should use add like as follows
@daily /home/mantavya/ service /home/mantavya/backups/

Continue reading PostgreSQL, Automatic Backup and Restore