• Cron job needed

    From pinnerite@pinnerite@gmail.com to alt.os.linux.mint on Sat Apr 18 22:10:03 2026
    From Newsgroup: alt.os.linux.mint

    I have never created a cron job from scratch.
    I looked for an app that would let me plug in the instruction but
    couldn't find one.

    Searching on Google just left me fuming.

    my command looks like thius:

    0 4 * * * /home/pinnerite/mytask.sh

    How and where should I plug it in?

    Alan
    --
    Linux Mint 22.1 kernel version 6.8.0-84-generic Cinnamon 6.4.8
    AMD Ryzen 7 7700, Radeon RX 6600, 32GB DDR5, 2TB SSD, 2TB Barracuda
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Mike Easter@MikeE@ster.invalid to alt.os.linux.mint on Sat Apr 18 14:51:51 2026
    From Newsgroup: alt.os.linux.mint

    pinnerite wrote:
    Searching on Google just left me fuming.

    I've never done any such thing; I tho't I would tackle the problem for
    my education.

    I found a guide at a site called Cronitor :-) (cronitor.io)

    Cron Jobs: The Complete Guide for 2026

    While I'm learning, I'll post this for your reading pleasure.

    https://cronitor.io/guides/cron-jobs
    --
    Mike Easter
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to alt.os.linux.mint on Sat Apr 18 22:23:04 2026
    From Newsgroup: alt.os.linux.mint

    On Sat, 18 Apr 2026 22:10:03 +0100, pinnerite wrote:

    Searching on Google just left me fuming.

    man 1 crontab

    or

    <https://manpages.debian.org/crontab(1)>

    Though systemd timers are probably the more modern way to do things
    ...
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Alan K.@alan@invalid.com to alt.os.linux.mint on Sat Apr 18 22:51:21 2026
    From Newsgroup: alt.os.linux.mint

    On 4/18/26 5:10 PM, pinnerite wrote:
    I have never created a cron job from scratch.
    I looked for an app that would let me plug in the instruction but
    couldn't find one.

    Searching on Google just left me fuming.

    my command looks like thius:

    0 4 * * * /home/pinnerite/mytask.sh

    How and where should I plug it in?

    Alan



    Open a bash shell.
    type crontab -e

    This opens an editor and you just type that line in like any other text file. Save it and
    exit.

    If you want to make sure type:
    crontab -l
    Will list what is in your crontab. That's it. Nothing more.
    I've got about 3 of them running.
    --
    Linux Mint 22.3, Mozilla Thunderbird 140.9.1esr, Mozilla Firefox 149.0.2
    Alan K.
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From yossarian@alt.os.linux.mint on Sun Apr 19 13:59:19 2026
    From Newsgroup: alt.os.linux.mint

    On Sat, 18 Apr 2026 22:10:03 +0100
    pinnerite <pinnerite@gmail.com> wrote:

    I have never created a cron job from scratch.
    I looked for an app that would let me plug in the instruction but
    couldn't find one.

    Searching on Google just left me fuming.

    my command looks like thius:

    0 4 * * * /home/pinnerite/mytask.sh

    How and where should I plug it in?

    Put your mytask.sh in one of /etc/cron directory's. Depend what your
    script is doing.
    --
    Running Linux Mint 22.3 (Zena) using Kernel=6.17.0-20-generic on x86_64
    , Cinnamon, lightdm, x11
    AMD Ryzen 7 5700G with Radeon Graphics (16) @ 5.288GHz

    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From german newsgroups@usualsuspectrider@gmail.com to alt.os.linux.mint on Sun Apr 19 20:28:57 2026
    From Newsgroup: alt.os.linux.mint

    Le 18/04/2026 |a 23:10, pinnerite a |-crit-a:
    I have never created a cron job from scratch.
    I looked for an app that would let me plug in the instruction but
    couldn't find one.

    Searching on Google just left me fuming.

    my command looks like thius:

    0 4 * * * /home/pinnerite/mytask.sh

    How and where should I plug it in?

    Alan




    is not a website ? another hand they are a solution if it's a website !!!
    --
    Amicalement,

    Frenchy Friendly, & French touch !

    german
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From pinnerite@pinnerite@gmail.com to alt.os.linux.mint on Sun Apr 19 21:31:29 2026
    From Newsgroup: alt.os.linux.mint

    On Sat, 18 Apr 2026 22:51:21 -0400
    "Alan K." <alan@invalid.com> wrote:

    On 4/18/26 5:10 PM, pinnerite wrote:
    I have never created a cron job from scratch.
    I looked for an app that would let me plug in the instruction but
    couldn't find one.

    Searching on Google just left me fuming.

    my command looks like thius:

    0 4 * * * /home/pinnerite/mytask.sh

    How and where should I plug it in?

    Alan



    Open a bash shell.
    type crontab -e

    This opens an editor and you just type that line in like any other text file. Save it and
    exit.

    If you want to make sure type:
    crontab -l
    Will list what is in your crontab. That's it. Nothing more.
    I've got about 3 of them running.

    --
    Linux Mint 22.3, Mozilla Thunderbird 140.9.1esr, Mozilla Firefox 149.0.2
    Alan K.

    Well, that was easy! I will check tomorrow to see if iut worked!
    Thank you (everybody)
    Alan
    --
    Linux Mint 22.1 kernel version 6.8.0-84-generic Cinnamon 6.4.8
    AMD Ryzen 7 7700, Radeon RX 6600, 32GB DDR5, 2TB SSD, 2TB Barracuda
    --- Synchronet 3.21f-Linux NewsLink 1.2