Questions tagged [schedule]

A schedule is the arrangement of events in time.

1575 questions
-1
votes
1 answer

i want to understand echedule.every().day.at how can it be in paralle with another thread

I need help please, I use schedule.every().day.at("17:40").do(my_function) and I would like my program to run normally and when the schedule.every().day.at("17:40").do(my_function) arrives, it executes the associated function but then it comes back…
-1
votes
1 answer

How to efficiently use Schedule Module in tkinter without getting GUI Freeze

I am new to python and tkinter and I made very basic program which check IP address ping or reachability in a given time range. I used Schedule module to schedule ping but actually after clicking Start Task, the GUI freeze while the code keeps…
user14592768
-1
votes
1 answer

I am trying to execute my code at a certain time every day and its not working

Am I doing something completely wrong. I've been trying to fix this for so long. it prints once and then keeps running but doesn't print anything else. import schedule import time def bot(): schedule.every(1).day.at("6:41").do(bot) …
ahron
  • 33
  • 5
-1
votes
1 answer

Trying to use the "schedule" module to automate opening a program is this possible? (Im trying to automatically log into my meeting

import schedule import os def start_file(): os.startfile("C:\python\Zoom.lnk") schedule.every().day.at("09:00").do(start_file()) It just opens my zoom application without it being at the proper time and it gives me the error: "File…
-1
votes
1 answer

import schedule error [Python] after pip install

When I run import schedule I get the following error: ModuleNotFoundError: No module named 'schedule' I already did a pip install for schedule FYI: I'm using: Python 3.85 venv
user12625679
  • 373
  • 1
  • 7
-1
votes
1 answer

Cron - Scheduling a workflow to run every hour, except 2 hours between 12 AM and 2 AM

I am using cron and I need to schedule my workflow, so that it runs every day hourly, just except 2 hours from 12 AM until 2 AM. Meaning it needs to run daily from 2 AM and kick off every hour, but just when the clock hits 12 AM it should't run for…
akki
  • 39
  • 4
-1
votes
1 answer

Using Applescript or Automator to edit a calendar to move "bump" all events forward one day

I want to be able to move all events within my mac calendar up one day, ideally with the ability to exclude weekends. Use Case: A training program had 10 weeks of daily sessions. The calendar is uploaded via csv edited for start days and skipped…
ande
  • 1
-1
votes
3 answers

Generate summary gantt chart from detailed activities

I want to create a gantt chart summary that shows a person´s whole "busy" and "free" schedule by day and in a single row, from a detailed gantt chart with a list of activities of different people in multiple rows. Basically go from this: To this:…
Roy
  • 73
  • 7
-1
votes
1 answer

Run a scheduled build using cc.net

I am trying to schedule a build to be run at a scheduled time regardless of modifications. I would like to know if this is the correct way of Forcing a build and if there is a way to set cc.net to ignore modifications...
-1
votes
1 answer

How can I get a specific date with MomentJS?

How can I get a specific date with MomentJS? For example: I would like start generating days from March 1 2020. Thanks!
-1
votes
2 answers

Python code that start a code in a python file at some specific time

I want to execute a file at a specific time as I won't be around at that time to execute it. I was thinking if there is a way in which I can write some code in another file, that will start that code, and leave it running so that it can start that…
-1
votes
1 answer

SQL - Recurring Calendar Events with Exceptions

I'm looking for some advice on the best practice for a calendar using recurring events. Lets say I have a table 'event' with the fields id info and another table 'event_meta' with the fields id event_id start_date end_date interval I can create a…
flytex
  • 98
  • 6
-1
votes
1 answer

Python - schedule with random delay

I'am learning python by doing little projects on my own. I'am struggling to schedule scripts with random delay in a range. In the code below, the delay is random but always the same ... I Really need help. import schedule import time import…
Mta
  • 1
-1
votes
1 answer

Execute scheduled Task only once

I was trying to Code some simple scheduled Task, which should be executed every full minute (aka when seconds are at 0) but somehow it got messed up. Instead of only doing its job once, it does it over and over as long as the seconds are at 0. I…
Giga
  • 35
  • 7
-1
votes
2 answers

Python Functions Instead of Python Scripts

Is it possible to have the below code run a python function instead of a python script? from crontab import CronTab from datetime import datetime cron = CronTab(user='username') job = cron.new(command='python…
Yunele
  • 9
  • 3
1 2 3
99
100