Skip to main content

Running Cron Job with Dedicated IP Address

Comments

5 comments

  • cPanelMichael
    Hello, Can you elaborate on the specific action you are attempting to perform via a cron job? For instance, do you mean you want the outgoing IP address to show as the dedicated IP? Thank you.
    0
  • WMisiedjan
    Hello, Can you elaborate on the specific action you are attempting to perform via a cron job? For instance, do you mean you want the outgoing IP address to show as the dedicated IP? Thank you.

    Yes, so whatever the cron job is preforming should have an outgoing IP address of the dedicated IP address assigned to it, this doesn't seem to be the case right now.
    0
  • cPanelMichael
    Hello, It's normal for outgoing connections to come from the default public IP address of the server. Assigning an account a dedicated IP address will not change this behavior. You may need to consult with a
    0
  • WMisiedjan
    I guess I have to turn myself into an system administrator, thank you.
    0
  • WMisiedjan
    For the people finding this and wanting to do this for a PHP script that is using cURL, you can set your actually set the current option in cURL; ```CURLOPT_INTERFACE = xxx.xxx.xxx.xxx``` where xxx's are the IP adres you want to use.
    0

Please sign in to leave a comment.