Month: January 2010

  • How to pass parameters to a PHP script executed through the command line

    The syntax to pass parameters to PHP scripts executed command line is: For more information: Control your scripts with command-line PHP PHP CLI: Sending parameters via command line

  • Quick and dirty fix for VMware Linux guests loosing clock accuracy

    I covered on a previous post how to keep the clock synchronized for VMware Linux guest(s). Well this seems to not work at least for recent versions VMware Server 2 (i.e. the one with web based management console). For now the quick& dirty solution I am using is putting a cron job that executes ntpdate […]

  • Dumping a mysql database excluding one or several tables

    If we need to dump a MySQL database and want to exclude table(s) we should use the option: –ignore-table=db_name.tbl_name Do not dump the given table, which must be specified using both the database and table names. To ignore multiple tables, use this option multiple times. This option also can be used to ignore views. Citation. […]