Trying to run a deamon with crontabcrontab command not runSystem crontab entries not being runCrontab not run...

Has the BBC provided arguments for saying Brexit being cancelled is unlikely?

The use of multiple foreign keys on same column in SQL Server

To string or not to string

Why Is Death Allowed In the Matrix?

Why are electrically insulating heatsinks so rare? Is it just cost?

US citizen flying to France today and my passport expires in less than 2 months

Why, historically, did Gödel think CH was false?

How is it possible to have an ability score that is less than 3?

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

How to format long polynomial?

Why not use SQL instead of GraphQL?

Email Account under attack (really) - anything I can do?

Problem of parity - Can we draw a closed path made up of 20 line segments...

Did Shadowfax go to Valinor?

Can I make popcorn with any corn?

Maximum likelihood parameters deviate from posterior distributions

Is it possible to do 50 km distance without any previous training?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

In Japanese, what’s the difference between “Tonari ni” (となりに) and “Tsugi” (つぎ)? When would you use one over the other?

What would happen to a modern skyscraper if it rains micro blackholes?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?

Finding angle with pure Geometry.

Minkowski space

Why does Kotter return in Welcome Back Kotter?



Trying to run a deamon with crontab


crontab command not runSystem crontab entries not being runCrontab not run job and change jobUbuntu 14.04 randomly freezes after long periods and fails to reboot automatically (crontab)crontab run sequentiallycrontab not run aria2c & scriptCrontab wont run .sh fileCrontab issue with geditRun gsettings with crontabHow to run Django cron in crontab?






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







0















Im very new to linux/ubuntu, and I learned a few stuff by setting up few nodes for cryptocurrencies like Zcoin. I keep bumping into one issue though!



In nodes, if your server is disconnected/offline/doesnt run for whatever reason for more than 3h, they you are penalized and you are ending up in the end of the queue. Im hosting with Vultr at,(running ubuntu 16.04), and occasionally, they will put some servers into maintenance/reboot for hardware failure/some repairs.
So, ideally , i would love a way to have a cronjob that could bring the daemon(the zcoin daemon in my case) back to life on every reboot !



At the moment, after i login to the server, i type those 2 commands:
1) cd ~/zcoin-0.13.7/bin and then
2) ./zcoind -daemon



And thats it!



Can someone please tell me how on earth i need to put the syntax on the crontab -e ?!?



Thank you!










share|improve this question







New contributor




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



























    0















    Im very new to linux/ubuntu, and I learned a few stuff by setting up few nodes for cryptocurrencies like Zcoin. I keep bumping into one issue though!



    In nodes, if your server is disconnected/offline/doesnt run for whatever reason for more than 3h, they you are penalized and you are ending up in the end of the queue. Im hosting with Vultr at,(running ubuntu 16.04), and occasionally, they will put some servers into maintenance/reboot for hardware failure/some repairs.
    So, ideally , i would love a way to have a cronjob that could bring the daemon(the zcoin daemon in my case) back to life on every reboot !



    At the moment, after i login to the server, i type those 2 commands:
    1) cd ~/zcoin-0.13.7/bin and then
    2) ./zcoind -daemon



    And thats it!



    Can someone please tell me how on earth i need to put the syntax on the crontab -e ?!?



    Thank you!










    share|improve this question







    New contributor




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























      0












      0








      0








      Im very new to linux/ubuntu, and I learned a few stuff by setting up few nodes for cryptocurrencies like Zcoin. I keep bumping into one issue though!



      In nodes, if your server is disconnected/offline/doesnt run for whatever reason for more than 3h, they you are penalized and you are ending up in the end of the queue. Im hosting with Vultr at,(running ubuntu 16.04), and occasionally, they will put some servers into maintenance/reboot for hardware failure/some repairs.
      So, ideally , i would love a way to have a cronjob that could bring the daemon(the zcoin daemon in my case) back to life on every reboot !



      At the moment, after i login to the server, i type those 2 commands:
      1) cd ~/zcoin-0.13.7/bin and then
      2) ./zcoind -daemon



      And thats it!



      Can someone please tell me how on earth i need to put the syntax on the crontab -e ?!?



      Thank you!










      share|improve this question







      New contributor




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












      Im very new to linux/ubuntu, and I learned a few stuff by setting up few nodes for cryptocurrencies like Zcoin. I keep bumping into one issue though!



      In nodes, if your server is disconnected/offline/doesnt run for whatever reason for more than 3h, they you are penalized and you are ending up in the end of the queue. Im hosting with Vultr at,(running ubuntu 16.04), and occasionally, they will put some servers into maintenance/reboot for hardware failure/some repairs.
      So, ideally , i would love a way to have a cronjob that could bring the daemon(the zcoin daemon in my case) back to life on every reboot !



      At the moment, after i login to the server, i type those 2 commands:
      1) cd ~/zcoin-0.13.7/bin and then
      2) ./zcoind -daemon



      And thats it!



      Can someone please tell me how on earth i need to put the syntax on the crontab -e ?!?



      Thank you!







      server cron






      share|improve this question







      New contributor




      Aleksandros F. 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




      Aleksandros F. 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






      New contributor




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









      asked 24 mins ago









      Aleksandros F.Aleksandros F.

      11




      11




      New contributor




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





      New contributor





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






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






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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
          });


          }
          });






          Aleksandros F. 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%2faskubuntu.com%2fquestions%2f1131764%2ftrying-to-run-a-deamon-with-crontab%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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










          draft saved

          draft discarded


















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













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












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
















          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f1131764%2ftrying-to-run-a-deamon-with-crontab%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...