From owner-freebsd-chat@FreeBSD.ORG Thu Jul 1 14:43:43 2010 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D19431065672 for ; Thu, 1 Jul 2010 14:43:43 +0000 (UTC) (envelope-from anders.freebsd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 83DD38FC14 for ; Thu, 1 Jul 2010 14:43:43 +0000 (UTC) Received: by gyf3 with SMTP id 3so1348671gyf.13 for ; Thu, 01 Jul 2010 07:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=lngy4ztcxJl5edf522GfQj3568aD/oHMKmgRgaNfQrA=; b=RK1uOtGIa7nBvb28qBjdhx+5MIe/CMfcJ4G85c67zA6S1U68bTavhc2PaLBxSrrlI2 ra9pqLDkDFd2kUdbchhpl3COiZ6mZk9NEDOoBmw7yytI5qvy1mFtZPA6svLyJDipS9iG AMGmOk61q+fUJSvnKJbc4aeE0220xUOg9wp48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VShxLwZGxyOzYMqm2RC8yxbvjxMN0zUQomQnMi83efN3erNmlT6FE8YYSsCI0ssrOi FR7EcACPZ6HNWaZ5YpnpHusnu4KeJsJzSmn1Rcg6Jr/ejUzS43FS2BYg1fZf05Zg6Rvz NqYvL3w6Vp7o/sNL9jjhSRHlpR0WOeB8i1aM0= MIME-Version: 1.0 Received: by 10.224.14.137 with SMTP id g9mr7390050qaa.182.1277993905236; Thu, 01 Jul 2010 07:18:25 -0700 (PDT) Received: by 10.229.181.80 with HTTP; Thu, 1 Jul 2010 07:18:25 -0700 (PDT) Date: Thu, 1 Jul 2010 16:18:25 +0200 Message-ID: From: Anders Andersson To: freebsd-chat@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Scheduling X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2010 14:43:43 -0000 Hello! I have got myself a Tuxdroid. I would like to write a couple of applications that needs to be scheduled. I would like a scheduler that is a little different than crond or periodic (those that I know). I would like it to have some randomization, eventbased. For instance, I would like to write a smart wake-me-up clock as well as a game that starts now and then when you need to interact with it. This requires the scheduler to run at specific times and also be able to select one at random. If it could react to other events that would be great as well. I could just let the programs sleep in the background but I would prefer a scheduler that executes them according to different rules. The programs are pythonscripts. Instead of writing my own scheduler, I wonder if there are programs that already does this? Regards Anders Andersson