    log_file = "/var/log/yankee-downloader.log"
    script_path = "/yankee-gnome-fire-consumer/consumer.py"

    return "@@@"





import datetime
import subprocess
import socket
import os

def getMinutes():

    if current_time is None:
        current_time = datetime.datetime.now()

    new_minute = (current_time.minute + 5) % 60  # The % operator performs the wrap-around
    new_hour = current_time.hour + (current_time.minute + 5) // 60 # Integer division for hour increment

    # Create a new datetime object with the updated minute and handle hour rollover
    try:
        new_time = current_time.replace(minute=new_minute, hour=new_hour)
    except ValueError: # handles cases where the hour rollover causes day change
        new_time = current_time + datetime.timedelta(minutes=5)
        
    return new_time



def generate_cron_entry():

    """Generates a cron entry that runs 5 minutes from now and logs server info."""

    now = datetime.datetime.now()
    five_minutes_from_now = now + datetime.timedelta(minutes=5)

    minute = five_minutes_from_now.minute
    hour = five_minutes_from_now.hour
    day = five_minutes_from_now.day
    month = five_minutes_from_now.month
    weekday = "*"  # Weekday is left as * to run every day of the week.  If you need specific weekdays, change this.

    # Get server IP and hostname
    try:
      server_ip = socket.gethostbyname(socket.gethostname())
      server_hostname = socket.gethostname()
    except socket.gaierror:
      server_ip = "Unknown IP"
      server_hostname = "Unknown Hostname"


    log_file = "/var/log/yankee-downloader.log"
    script_path = "/yankee-gnome-fire-consumer/consumer.py"

print("getMinutes / ",getMinutes())
