Results 1 to 18 of 18
  1. #1
    Join Date
    Dec 2012
    Posts
    55

    Cron jobs to other server possible?

    Hello.
    Can someone tell me please if it is possible to add cronjobs to other server?

    Thank you.

  2. #2
    what is meant? whether to use cron job from server A to server B?
    I'm not quite understand the question hehe

  3. #3
    Join Date
    Dec 2012
    Posts
    55
    Yes to add cronjob for server A in Server B

  4. #4
    Join Date
    Nov 2011
    Location
    Datacenters
    Posts
    1,313
    Yes ,you can do .
    Simply create one script in server B and run the same from server A via cron .
    Fastest . Reliable . Affordable Web Hosting by MNCHOST.COM

    █ Shared | Business | Reseller : 1.Litespeed 2.Cpanel 3.Pure SSDs 4.US Support 5.Hourly Backups
    Fully Managed Dedicated Servers | Premium Bandwidth | New SSD-US Servers

  5. #5
    Join Date
    Dec 2012
    Posts
    55

    Re:

    Thank you for your answer. Is there any tutorial how can i do it?

  6. #6
    Join Date
    Nov 2011
    Location
    Datacenters
    Posts
    1,313
    1. Operating System ? Cpanel installed ?
    2. script language ?
    Fastest . Reliable . Affordable Web Hosting by MNCHOST.COM

    █ Shared | Business | Reseller : 1.Litespeed 2.Cpanel 3.Pure SSDs 4.US Support 5.Hourly Backups
    Fully Managed Dedicated Servers | Premium Bandwidth | New SSD-US Servers

  7. #7
    Join Date
    Dec 2012
    Posts
    55
    linux, cpanel and php

  8. #8
    Quote Originally Posted by WH-M View Post
    Thank you for your answer. Is there any tutorial how can i do it?
    I do not know if the script, I used to use the service cron job on cpanel but it seems @MNCHOST - Chris a programmer who certainly knows better, and I also wanted to hear it because this is definitely a valuable science for me hehe

  9. #9
    Join Date
    Nov 2011
    Location
    Datacenters
    Posts
    1,313
    Quote Originally Posted by WH-M View Post
    linux, cpanel and php
    Thanks for your info . Please find below the link who did samething you want

    https://drupal.org/node/369267

    If it not work ,let me know and i'll test the same for you

    Quote Originally Posted by kang28ivan View Post
    I do not know if the script, I used to use the service cron job on cpanel but it seems @MNCHOST - Chris a programmer who certainly knows better, and I also wanted to hear it because this is definitely a valuable science for me hehe
    Greeting Kang28ivan ,

    Just posted one link above and waiting for feedback
    Fastest . Reliable . Affordable Web Hosting by MNCHOST.COM

    █ Shared | Business | Reseller : 1.Litespeed 2.Cpanel 3.Pure SSDs 4.US Support 5.Hourly Backups
    Fully Managed Dedicated Servers | Premium Bandwidth | New SSD-US Servers

  10. #10
    Quote Originally Posted by MNCHOST - Chris View Post
    Greeting Kang28ivan ,

    Just posted one link above and waiting for feedback
    thank you so much @MNCHOST - Chris, If I look glance at the description of the link you provided does not seem much different from using a cronjob as usual. Maybe just different from the script on another server that will run

  11. #11
    Join Date
    Nov 2011
    Location
    Datacenters
    Posts
    1,313
    Quote Originally Posted by kang28ivan View Post
    thank you so much @MNCHOST - Chris, If I look glance at the description of the link you provided does not seem much different from using a cronjob as usual. Maybe just different from the script on another server that will run
    Exactly ,you're correct .
    Fastest . Reliable . Affordable Web Hosting by MNCHOST.COM

    █ Shared | Business | Reseller : 1.Litespeed 2.Cpanel 3.Pure SSDs 4.US Support 5.Hourly Backups
    Fully Managed Dedicated Servers | Premium Bandwidth | New SSD-US Servers

  12. #12
    Join Date
    Dec 2012
    Posts
    55
    Thank you MNCHOST - Chris.

    One more question: Is there a way to see from where are comming the crons? I mean what is croned in my site? Is there any way to get it?

  13. #13
    Quote Originally Posted by MNCHOST - Chris View Post
    Exactly ,you're correct .
    Great, This small thing but it would make people like me would not understand the confusion, it would be a great lesson for me a beginner hehe

    Quote Originally Posted by WH-M View Post
    Thank you MNCHOST - Chris.

    One more question: Is there a way to see from where are comming the crons? I mean what is croned in my site? Is there any way to get it?
    which you definitely should prepare a script from server B which will you run it on the server A, cron job for what purpose?

  14. #14
    Join Date
    Nov 2011
    Location
    Datacenters
    Posts
    1,313
    yes ,you can .

    In centos ,check crontab file for the same : vi /etc/crontab

    Hope this link will help : http://www.cyberciti.biz/faq/linux-s...obs-are-setup/


    @kang28ivan : Thanks for your kind words & info
    Fastest . Reliable . Affordable Web Hosting by MNCHOST.COM

    █ Shared | Business | Reseller : 1.Litespeed 2.Cpanel 3.Pure SSDs 4.US Support 5.Hourly Backups
    Fully Managed Dedicated Servers | Premium Bandwidth | New SSD-US Servers

  15. #15
    Join Date
    May 2013
    Location
    India
    Posts
    748
    Quote Originally Posted by WH-M View Post
    Thank you MNCHOST - Chris.

    One more question: Is there a way to see from where are comming the crons? I mean what is croned in my site? Is there any way to get it?
    If you mean the cron jobs set for a user / cPanel account, you can normally find it in file /var/spool/cron/<username>.

  16. You're going to have to setup a script on your friends server that calls the script on your server. You can't call your script directly.

  17. #17
    Yes mate its possible to add cronjob for one server to another Server.

  18. #18
    Join Date
    Nov 2004
    Location
    Dallas
    Posts
    739
    Jenkins with some plugins might do the trick

Similar Threads

  1. Cron jobs
    By jamjam in forum VPS Hosting
    Replies: 1
    Last Post: 06-14-2009, 05:36 AM
  2. How check all cPanel's list jobs on cron jobs?
    By GetPaid-hosting in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 06-06-2008, 12:42 PM
  3. check what Cron jobs have been added on the server?
    By joelin in forum Hosting Security and Technology
    Replies: 4
    Last Post: 02-21-2008, 09:18 PM
  4. Cron job Help: Can any one Help with Commands for Cron Jobs????
    By pal_web in forum Hosting Security and Technology
    Replies: 4
    Last Post: 06-16-2006, 02:43 PM
  5. Cron Jobs
    By fog in forum Hosting Security and Technology
    Replies: 1
    Last Post: 02-02-2003, 11:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •