From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mJ0yKROdX2NtsgAAbAwnHQ (envelope-from ) for ; Mon, 31 Oct 2022 11:01:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uND4KBOdX2PkegEAauVa8A (envelope-from ) for ; Mon, 31 Oct 2022 11:01:55 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 80C2217CF4 for ; Mon, 31 Oct 2022 11:01:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opRbo-0005L0-6D; Mon, 31 Oct 2022 06:01:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opRbV-0005Hv-KK for emacs-orgmode@gnu.org; Mon, 31 Oct 2022 06:01:17 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opRbT-0000Ox-B3 for emacs-orgmode@gnu.org; Mon, 31 Oct 2022 06:01:12 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4N17vn2TzyzDqPf; Mon, 31 Oct 2022 10:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1667210469; bh=pEmznD8skNVee23G6NYVnVPQSBZtkArr0tOCGig3ajk=; h=Date:From:To:Subject:In-Reply-To:References:From; b=Z89j+iZxdOJs2bLNCRgllJttiS4KVUoGmCsfj2zZpPAZn9KK5TeoM6DmYXaESvVQu nSgKQHpTU59VjEBGaRGM30T2NCZXcUWD65vUCn5NshC0NcuDPf6eimVu31R8G4ZtE2 DBRsSy64c6lsurQ7LHIbW/h08OpNannbsJcBIY4Y= X-Riseup-User-ID: 557ACC5B73A619951B8B5046056AAE84F923E17F570A1E9D88C6DB06A2C5AA04 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4N17vn0yGVz5vTf; Mon, 31 Oct 2022 10:01:09 +0000 (UTC) MIME-Version: 1.0 Date: Mon, 31 Oct 2022 10:01:09 +0000 From: =?UTF-8?Q?Quiliro_Ord=C3=B3=C3=B1ez?= To: Renato Pontefice , emacs-orgmode@gnu.org Subject: Re: One thing each 3 days but maximum 10 In-Reply-To: References: Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=quiliro@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667210515; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=t8gM4Li9XZUZZ6gDezqthJP/tzZGkK/DvubGzRKEfWo=; b=k7AnNjaVglDJYSrAeeLcbJPMU+n2Yk7k7cXuz9Hn3kdJFz3Knq1A9GtaMHSJzxwKCqpsz4 V8zqfIIwKiISBbwgZmh92b7lI+x3k1A3mj6zskbn0k6cTtLqVdEo1ori1iAB9jqKOQet6S f+yDkYZ9ymKAy5crFsoeKLgWQJHcgjwVQHdiL6K99xIDCOookZCZ16Mr+j54e59s6wGk9v qW1hTKsi10XxetsBwBcAcpt990fC54tPs406Lj+U37+r1Lekc3ckyELJUFS8Qp1KWVo6rN 4x7VavAur+/0t9aqqNEwSR/+cDDZwCiXOlOvLEDXJJCSGe6QEg3Ei5DUcOlwWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667210515; a=rsa-sha256; cv=none; b=qpvS4rRv+ir2FPawPJS09xUanLyzjqJ5thgtt4yyqRjNM5EkeSt1NKt+0xl74QXAMhIq4L Y8CO5/OPzdF0okoWMTUvmM8CTfLPBhJRESinUOc/gF7Da+hbE9Y9o5PerX0XuIS4SQZ2Ti yg3afc7dqJGoNd7BHg9ssouc3DHghVCMAnji8mkb1/VYilqmh8SC763spxCgRwE020K1PB gSq9weCtVRWy/uzxLAH1B9S/C51ipCcAEyAyXYwvln1Yvq4XwjH9q/Tq5Go120Ky2Puw5J q89wheCbBIOUgiW+7pCVSRJnQYjpdG9yiy2UgkBrCX/gDN6fEq+6+75Jm1KNcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=Z89j+iZx; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=Z89j+iZx; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 80C2217CF4 X-Spam-Score: -5.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: P8fo/B/MKXkt El 2022-10-30 23:57, Jean Louis escribió: > * Renato Pontefice [2022-10-30 19:11]: >> I have to take a pill each 3 days, but for max 10 times. >> So I set a TODO pill >2022-10-28 +3d> and each 3 days my calendar tell me that I have to take the pill. But is possible to say 1/10; 2/10; 3/10 etc? >> I nean to show how many pill I have already take? > > Use PostgreSQL to give you schedule: > > #+BEGIN_SRC sql :engine postgresql :results value raw > SELECT '** TODO Take pill again > SCHEDULED: <' || generate_series('2022-10-28', '2022-11-26', '3 > day'::interval)::date || E'>\n' > AS "* My treatement"; > #+END_SRC > > #+RESULTS: > * My treatement > ** TODO Take pill again > SCHEDULED: <2022-10-28> > > ** TODO Take pill again > SCHEDULED: <2022-10-31> > > ** TODO Take pill again > SCHEDULED: <2022-11-03> > > ** TODO Take pill again > SCHEDULED: <2022-11-06> > > ** TODO Take pill again > SCHEDULED: <2022-11-09> > > ** TODO Take pill again > SCHEDULED: <2022-11-12> > > ** TODO Take pill again > SCHEDULED: <2022-11-15> > > ** TODO Take pill again > SCHEDULED: <2022-11-18> > > ** TODO Take pill again > SCHEDULED: <2022-11-21> > > ** TODO Take pill again > SCHEDULED: <2022-11-24> Isn't it much easier to copy the first one and change the day, instead of going through the learning curve of database administration? Of course that, if you have a bazooka, you can even write a love letter with it. But would it be right tool?