Hi I need to exectue some batch jobs on Monet which are supposed to run as cron jobs. Since the process runs in background I was hoping to use mclient to execute the queries. But when I use mclient I am prompted to enter a password. I could not see any option to specify the password too as an argument to mclient. Is there something I am missing or is there another way to do what I am trying to do i.e. not use mclient. Thanks Nitin
From `man mclient` or http://www.monetdb.org/Documentation/mclient-man-page :
" Before mclient starts parsing command line options, it reads a .monetdb file. If the environment variable DOTMONETDBFILE is set, it reads the file pointed to by that variable instead. When unset, mclient searches for a .monetdb file in the current working directory, and if that doesn’t exist, in the current user’s home directory. This file can contain defaults for the flags user, password, language, save_history, format and width. For example, an entry in a .monetdb file that sets the default language for mclient to mal looks like this: language=mal. To disable reading the .monetdb file, set the variable DOTMONETDBFILE to the empty string in the environment. " Stefan ----- Original Message -----
Hi
I need to exectue some batch jobs on Monet which are supposed to run as cron jobs. Since the process runs in background I was hoping to use mclient to execute the queries. But when I use mclient I am prompted to enter a password. I could not see any option to specify the password too as an argument to mclient. Is there something I am missing or is there another way to do what I am trying to do i.e. not use mclient.
Thanks Nitin
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
-- | Stefan.Manegold@CWI.nl | DB Architectures (DA) | | www.CWI.nl/~manegold/ | Science Park 123 (L321) | | +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |
Thanks Stefan for pointing that out.
Cheers
Nitin
On Mon, Nov 4, 2013 at 11:55 AM, Stefan Manegold
From `man mclient` or http://www.monetdb.org/Documentation/mclient-man-page :
" Before mclient starts parsing command line options, it reads a .monetdb file. If the environment variable DOTMONETDBFILE is set, it reads the file pointed to by that variable instead. When unset, mclient searches for a .monetdb file in the current working directory, and if that doesn’t exist, in the current user’s home directory. This file can contain defaults for the flags user, password, language, save_history, format and width. For example, an entry in a .monetdb file that sets the default language for mclient to mal looks like this: language=mal. To disable reading the .monetdb file, set the variable DOTMONETDBFILE to the empty string in the environment. "
Stefan
----- Original Message -----
Hi
I need to exectue some batch jobs on Monet which are supposed to run as
cron
jobs. Since the process runs in background I was hoping to use mclient to execute the queries. But when I use mclient I am prompted to enter a password. I could not see any option to specify the password too as an argument to mclient. Is there something I am missing or is there another way to do what I am trying to do i.e. not use mclient.
Thanks Nitin
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
-- | Stefan.Manegold@CWI.nl | DB Architectures (DA) | | www.CWI.nl/~manegold/ | Science Park 123 (L321) | | +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
-- http://www.airpush.com/ Nitin Gautam Senior Data Scientist | Airpush, Inc. *Data-Driven Mobile Advertising* ------------------------------ tel : | mobile : website http://www.airpush.com/ | bloghttp://www.airpush.com/category/airpush-mobile-advertising-blog/ | upcoming events http://www.airpush.com/connect/events-conferences/ http://www.airpush.com/connect/events-conferences/[image: Twitter]https://twitter.com/AirPushAds [image: LinkedIn] http://www.linkedin.com/company/airpush-inc. Visit us at ad:tech New York Nov. 6-7th | Booth #228 Schedule a custom demo
http://www.airpush.com/connect/events-conferences/ad-tech-new-york-2013/
participants (2)
-
Nitin Gautam
-
Stefan Manegold