Why does my every-minute crontab not work but same process on @reboot works fine?Cron creates vim process but...

Do SFDX commands count toward limits?

Etymology of the expression "to entertain an idea"

Are the guests in Westworld forbidden to tell the hosts that they are robots?

How (un)safe is it to ride barefoot?

If the pressure inside and outside a balloon balance, then why does air leave when it pops?

How do I avoid typing "git" at the begining of every Git command?

What is the logic behind charging tax _in the form of money_ for owning property when the property does not produce money?

Do Veracrypt encrypted volumes have any kind of brute force protection?

That's not my X, its Y is too Z

How do I type a hyphen in iOS 12?

Create a cube from identical 3D objects

Playing a trill with grace note ending

Placement of positioning lights on A320 winglets

Why does there seem to be an extreme lack of public trashcans in Taiwan?

What class is best to play when a level behind the rest of the party?

Does a single fopen introduce TOCTOU vulnerability?

Was planting UN flag on Moon ever discussed?

Mathematica 12 has gotten worse at solving simple equations?

Why is my power MOSFET heating up when on?

Make Gimbap cutter

How to Convert an Object into Array in magento 2

Realistic, logical way for men with medieval-era weaponry to compete with much larger and physically stronger foes

Is it true that "only photographers care about noise"?

How to represent jealousy in a cute way?



Why does my every-minute crontab not work but same process on @reboot works fine?


Cron creates vim process but does not display vimScript executed from cron doesn't display GUI notificationsReboot when no network connection does not work!BashScript works from Terminal but not from CronTabCron not working at startup, but works if restarted?Monitor process and restart when not running using crontabKubuntu 18.04, cron task does not load @rebootSeting up Crontab in Ubuntu 18.4 ProblemDoes this script run a program once as close as to every 15 seconds and not run two instances at the same time?Cronjob not executing, but command works






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I've been following carefully and reading a lot about setting up crontab with crontab -e any help is appreciated on this ...



I have a process that runs on startup (reboot) that works perfectly, and I want it to continue to run every minute but that does not happen. I do have a new-line (linefeed) at the end of the 2nd line. THANKS!!
I have program /dir/xxx that works great on reboot but the same process set to run every minute never triggers. My crontab -e is as follows:



@reboot /dir/xxx
/1 * * * * /dir/xxx


I do have a newline after the second line.










share|improve this question









New contributor



EECONS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Is the new line only after the second line?

    – Tomasz
    2 hours ago


















1















I've been following carefully and reading a lot about setting up crontab with crontab -e any help is appreciated on this ...



I have a process that runs on startup (reboot) that works perfectly, and I want it to continue to run every minute but that does not happen. I do have a new-line (linefeed) at the end of the 2nd line. THANKS!!
I have program /dir/xxx that works great on reboot but the same process set to run every minute never triggers. My crontab -e is as follows:



@reboot /dir/xxx
/1 * * * * /dir/xxx


I do have a newline after the second line.










share|improve this question









New contributor



EECONS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Is the new line only after the second line?

    – Tomasz
    2 hours ago














1












1








1








I've been following carefully and reading a lot about setting up crontab with crontab -e any help is appreciated on this ...



I have a process that runs on startup (reboot) that works perfectly, and I want it to continue to run every minute but that does not happen. I do have a new-line (linefeed) at the end of the 2nd line. THANKS!!
I have program /dir/xxx that works great on reboot but the same process set to run every minute never triggers. My crontab -e is as follows:



@reboot /dir/xxx
/1 * * * * /dir/xxx


I do have a newline after the second line.










share|improve this question









New contributor



EECONS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I've been following carefully and reading a lot about setting up crontab with crontab -e any help is appreciated on this ...



I have a process that runs on startup (reboot) that works perfectly, and I want it to continue to run every minute but that does not happen. I do have a new-line (linefeed) at the end of the 2nd line. THANKS!!
I have program /dir/xxx that works great on reboot but the same process set to run every minute never triggers. My crontab -e is as follows:



@reboot /dir/xxx
/1 * * * * /dir/xxx


I do have a newline after the second line.







ubuntu cron






share|improve this question









New contributor



EECONS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



EECONS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited 2 hours ago









Tomasz

10.6k73473




10.6k73473






New contributor



EECONS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 2 hours ago









EECONSEECONS

61




61




New contributor



EECONS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




EECONS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • Is the new line only after the second line?

    – Tomasz
    2 hours ago



















  • Is the new line only after the second line?

    – Tomasz
    2 hours ago

















Is the new line only after the second line?

– Tomasz
2 hours ago





Is the new line only after the second line?

– Tomasz
2 hours ago










1 Answer
1






active

oldest

votes


















2














I wonder how your crontab accepted this. What you mean by /1 in fact should be */1. Try it out.



And if it's all in one line, like:



@reboot /dir/xxx /1 * * * * /dir/xxx


Then there should be a new line between both (and */1) instead of /1:



@reboot /dir/xxx
*/1 * * * * /dir/xxx


In the one line version /1 * * * * /dir/xxx would be treated and passed as arguments to /dir/xxx. With * undergoing path expansion.






share|improve this answer


























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });






    EECONS is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f524101%2fwhy-does-my-every-minute-crontab-not-work-but-same-process-on-reboot-works-fine%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I wonder how your crontab accepted this. What you mean by /1 in fact should be */1. Try it out.



    And if it's all in one line, like:



    @reboot /dir/xxx /1 * * * * /dir/xxx


    Then there should be a new line between both (and */1) instead of /1:



    @reboot /dir/xxx
    */1 * * * * /dir/xxx


    In the one line version /1 * * * * /dir/xxx would be treated and passed as arguments to /dir/xxx. With * undergoing path expansion.






    share|improve this answer






























      2














      I wonder how your crontab accepted this. What you mean by /1 in fact should be */1. Try it out.



      And if it's all in one line, like:



      @reboot /dir/xxx /1 * * * * /dir/xxx


      Then there should be a new line between both (and */1) instead of /1:



      @reboot /dir/xxx
      */1 * * * * /dir/xxx


      In the one line version /1 * * * * /dir/xxx would be treated and passed as arguments to /dir/xxx. With * undergoing path expansion.






      share|improve this answer




























        2












        2








        2







        I wonder how your crontab accepted this. What you mean by /1 in fact should be */1. Try it out.



        And if it's all in one line, like:



        @reboot /dir/xxx /1 * * * * /dir/xxx


        Then there should be a new line between both (and */1) instead of /1:



        @reboot /dir/xxx
        */1 * * * * /dir/xxx


        In the one line version /1 * * * * /dir/xxx would be treated and passed as arguments to /dir/xxx. With * undergoing path expansion.






        share|improve this answer















        I wonder how your crontab accepted this. What you mean by /1 in fact should be */1. Try it out.



        And if it's all in one line, like:



        @reboot /dir/xxx /1 * * * * /dir/xxx


        Then there should be a new line between both (and */1) instead of /1:



        @reboot /dir/xxx
        */1 * * * * /dir/xxx


        In the one line version /1 * * * * /dir/xxx would be treated and passed as arguments to /dir/xxx. With * undergoing path expansion.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 hours ago

























        answered 2 hours ago









        TomaszTomasz

        10.6k73473




        10.6k73473






















            EECONS is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            EECONS is a new contributor. Be nice, and check out our Code of Conduct.













            EECONS is a new contributor. Be nice, and check out our Code of Conduct.












            EECONS is a new contributor. Be nice, and check out our Code of Conduct.
















            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f524101%2fwhy-does-my-every-minute-crontab-not-work-but-same-process-on-reboot-works-fine%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

            The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

            Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...