hello!
starting the openerp server never starts cron jobs etc.
we suggest to add some code like this to the start script which wakes up
all these jobs
the user start has no rights, but connecting
any other sugestion?
**************************
import xmlrpclib
username = 'start' #the user
pwd = 'xxxxx' #the password of the user
dbname = 'yyyyy #the database
# Get the uid
sock_common = xmlrpclib.ServerProxy ('https://localhost:4443/xmlrpc/common')
uid = sock_common.login(dbname, username, pwd)
#replace localhost with the address of the server
sock = xmlrpclib.ServerProxy('https://localhost:4443/xmlrpc/object')
args = [('login', '=', 'admin')] #query clause
ids = sock.execute(dbname, uid, pwd, 'res.users', 'search', args)
print ids
--
Ferdinand
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp