Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8438797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:48:56+00:00 2026-06-10T07:48:56+00:00

I need to create a cron job where I only have shell access. I

  • 0

I need to create a cron job where I only have shell access. I know how to do it with cPanel, but this is on 1and1 server so I must use shell.

I got to the part where I add a new cron job in the crontab as per 1and1 FAQ, but I’m not sure what I’m doing wrong because the cron job isn’t running at all.

This is what I’d normally put in cPanel:

0 8 * * 1 wget 'http://my_www_domain/googlefroogle.php?feed=fy_uy_tp&key=XXXXX3f7d1'

This is what I have in my crontab now:

0 8 * * 1 /usr/local/bin/php /homepages/XX/XXXXXXX/htdocs/googlefroogle.php?feed=fy_uy_tp&key=XXXXX3f7d1

What am I missing or doing wrong? BTW, if I manually enter the URL in my browser, everything works fine so I’m sure the script is OK.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T07:48:57+00:00Added an answer on June 10, 2026 at 7:48 am

    None of these answers helped me do what I need so I ended up using the following php file which was called by the crontab:

    $data = array('feed'=>'fy_uy_tp','key'=>'MY_KEY_HERE');
    $url = http_build_query($data, '', '&');
    $fullurl = 'http://www.MYSITE.com/googlefroogle.php?'.$url;
    
    $ch = curl_init($fullurl);
    $fp = fopen("MY_LOG_FILE.txt", "w");
    
    curl_setopt($ch, CURLOPT_FILE, $fp);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    
    curl_exec($ch);
    curl_close($ch);
    fclose($fp);
    

    In case anyone else needs something similar… Also, note that this requires php5, the http_build_query doesn’t work on php4

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need create clone repository. but I do not know where can I get
I have this cron job to empty a temp folder I have once a
I need to create a cron job that will tar all images created within
I am in need to create a cron triggers expression which should fire on
I have dynamically created WrapPanel (_wp) with several Borders. And I need create handler
Need to create a custom DNS name server using C which will check against
I need to create a WP site which will have multiple subjects. Each subject
I want to create cron job that runs a script every 5 seconds. Seeing
Im trying to create a cron job involving aggregating emails sent within a period.
I have cron job - php script which is called one time in 5

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.