Cron jobs on IBM i 7.1












0















I just found out today that on an IBM i system I am able to use SSH to get to a Unix-like terminal (AIX/PASE) and would like to use this to schedule automated tasks using crontab. Does anyone know if this is possible? I know in Linux just creating the crontab file is enough, but what about AIX on IBM i?










share|improve this question





























    0















    I just found out today that on an IBM i system I am able to use SSH to get to a Unix-like terminal (AIX/PASE) and would like to use this to schedule automated tasks using crontab. Does anyone know if this is possible? I know in Linux just creating the crontab file is enough, but what about AIX on IBM i?










    share|improve this question



























      0












      0








      0








      I just found out today that on an IBM i system I am able to use SSH to get to a Unix-like terminal (AIX/PASE) and would like to use this to schedule automated tasks using crontab. Does anyone know if this is possible? I know in Linux just creating the crontab file is enough, but what about AIX on IBM i?










      share|improve this question
















      I just found out today that on an IBM i system I am able to use SSH to get to a Unix-like terminal (AIX/PASE) and would like to use this to schedule automated tasks using crontab. Does anyone know if this is possible? I know in Linux just creating the crontab file is enough, but what about AIX on IBM i?







      cron crontab aix ibm-server






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 3 '16 at 5:47









      fixer1234

      18k144681




      18k144681










      asked Sep 26 '14 at 21:40









      MaKRMaKR

      20114




      20114






















          1 Answer
          1






          active

          oldest

          votes


















          2














          IBM AIX 5.3 has a crontab command which allows you to submit, edit, list, and removes cron jobs.



          If you are the root user, you can use the crontab feature. If you do not have root access, your login has to be added to the cron.allow file and at the same time not in cron.deny. The cron.allow and cron.deny files are located under the /var/adm/cron directory.






          share|improve this answer
























          • None of those directories exist on our IBM i and crontab isn't a command. I was hoping just editing the cron file would be enough but it's not. I'm beginning to think that since IBM i has its own built-in job scheduler they didn't bother to port crontab. It's just a pain to have to ask the RPG devs to schedule jobs to call php functions I write. Thanks!

            – MaKR
            Sep 29 '14 at 19:56











          • @MaKR - We have the same inefficiencies at work as well. Hopefully, it is just a one time change or minimal changes once scheduled. Good luck!

            – Sun
            Sep 29 '14 at 19:58











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f817362%2fcron-jobs-on-ibm-i-7-1%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














          IBM AIX 5.3 has a crontab command which allows you to submit, edit, list, and removes cron jobs.



          If you are the root user, you can use the crontab feature. If you do not have root access, your login has to be added to the cron.allow file and at the same time not in cron.deny. The cron.allow and cron.deny files are located under the /var/adm/cron directory.






          share|improve this answer
























          • None of those directories exist on our IBM i and crontab isn't a command. I was hoping just editing the cron file would be enough but it's not. I'm beginning to think that since IBM i has its own built-in job scheduler they didn't bother to port crontab. It's just a pain to have to ask the RPG devs to schedule jobs to call php functions I write. Thanks!

            – MaKR
            Sep 29 '14 at 19:56











          • @MaKR - We have the same inefficiencies at work as well. Hopefully, it is just a one time change or minimal changes once scheduled. Good luck!

            – Sun
            Sep 29 '14 at 19:58
















          2














          IBM AIX 5.3 has a crontab command which allows you to submit, edit, list, and removes cron jobs.



          If you are the root user, you can use the crontab feature. If you do not have root access, your login has to be added to the cron.allow file and at the same time not in cron.deny. The cron.allow and cron.deny files are located under the /var/adm/cron directory.






          share|improve this answer
























          • None of those directories exist on our IBM i and crontab isn't a command. I was hoping just editing the cron file would be enough but it's not. I'm beginning to think that since IBM i has its own built-in job scheduler they didn't bother to port crontab. It's just a pain to have to ask the RPG devs to schedule jobs to call php functions I write. Thanks!

            – MaKR
            Sep 29 '14 at 19:56











          • @MaKR - We have the same inefficiencies at work as well. Hopefully, it is just a one time change or minimal changes once scheduled. Good luck!

            – Sun
            Sep 29 '14 at 19:58














          2












          2








          2







          IBM AIX 5.3 has a crontab command which allows you to submit, edit, list, and removes cron jobs.



          If you are the root user, you can use the crontab feature. If you do not have root access, your login has to be added to the cron.allow file and at the same time not in cron.deny. The cron.allow and cron.deny files are located under the /var/adm/cron directory.






          share|improve this answer













          IBM AIX 5.3 has a crontab command which allows you to submit, edit, list, and removes cron jobs.



          If you are the root user, you can use the crontab feature. If you do not have root access, your login has to be added to the cron.allow file and at the same time not in cron.deny. The cron.allow and cron.deny files are located under the /var/adm/cron directory.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 26 '14 at 22:00









          SunSun

          4,54262442




          4,54262442













          • None of those directories exist on our IBM i and crontab isn't a command. I was hoping just editing the cron file would be enough but it's not. I'm beginning to think that since IBM i has its own built-in job scheduler they didn't bother to port crontab. It's just a pain to have to ask the RPG devs to schedule jobs to call php functions I write. Thanks!

            – MaKR
            Sep 29 '14 at 19:56











          • @MaKR - We have the same inefficiencies at work as well. Hopefully, it is just a one time change or minimal changes once scheduled. Good luck!

            – Sun
            Sep 29 '14 at 19:58



















          • None of those directories exist on our IBM i and crontab isn't a command. I was hoping just editing the cron file would be enough but it's not. I'm beginning to think that since IBM i has its own built-in job scheduler they didn't bother to port crontab. It's just a pain to have to ask the RPG devs to schedule jobs to call php functions I write. Thanks!

            – MaKR
            Sep 29 '14 at 19:56











          • @MaKR - We have the same inefficiencies at work as well. Hopefully, it is just a one time change or minimal changes once scheduled. Good luck!

            – Sun
            Sep 29 '14 at 19:58

















          None of those directories exist on our IBM i and crontab isn't a command. I was hoping just editing the cron file would be enough but it's not. I'm beginning to think that since IBM i has its own built-in job scheduler they didn't bother to port crontab. It's just a pain to have to ask the RPG devs to schedule jobs to call php functions I write. Thanks!

          – MaKR
          Sep 29 '14 at 19:56





          None of those directories exist on our IBM i and crontab isn't a command. I was hoping just editing the cron file would be enough but it's not. I'm beginning to think that since IBM i has its own built-in job scheduler they didn't bother to port crontab. It's just a pain to have to ask the RPG devs to schedule jobs to call php functions I write. Thanks!

          – MaKR
          Sep 29 '14 at 19:56













          @MaKR - We have the same inefficiencies at work as well. Hopefully, it is just a one time change or minimal changes once scheduled. Good luck!

          – Sun
          Sep 29 '14 at 19:58





          @MaKR - We have the same inefficiencies at work as well. Hopefully, it is just a one time change or minimal changes once scheduled. Good luck!

          – Sun
          Sep 29 '14 at 19:58


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f817362%2fcron-jobs-on-ibm-i-7-1%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

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕