Skip to content

Mislabeling of time to check for new version via cron - label says minutes, juliaup informs user that it will be done in seconds, and actual cron job does not adhere to standard cron job format #1245

@Remogeus

Description

@Remogeus

Precondition:

  • Juliaup is used in interactive mode
  • User selects to modify installation
  • User gets to the point to enter minutes between checks for new version by a cron job
  • Label informs user to enter value in minutes
Image
  • User inserts for check for new version by the cron job value > 0 - here 10080 (7 days)

Expectation

  • Juliaup informs user that the job would run every 10080 minutes

  • cron job created with standard format as defined in crontab(5) - see excerpt from manpage:

     cron(8) examines cron entries every minute.
    
     The time and date fields are:
    
            field          allowed values
            -----          --------------
            minute         0-59
            hour           0-23
            day of month   1-31
            month          1-12 (or names, see below)
            day of week    0-7 (0 or 7 is Sunday, or use names)
    
     A field may contain an asterisk (*), which always stands for
     "first-last".
    

Observation

  • Juliaup informs user that the job would run every 10080 seconds
Image
  • Created cron job is set to run every 10080 minute, but in format not adhering to cronjob standard

     */10080 * * * * /tmp/tmp.ktQdS2069p/juliainstaller 4c79c12db1d34bbbab1f6c6f838f423f
    

Information about environment:
Distro: Fedora Linux 42
Kernel version: 6.16.4-200
Architecture: x86_64
Used juliaup version: 1.17.19, pulled from https://install.julialang.org
cron version: cronie 1.7.2-6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions