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 8771009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:40:50+00:00 2026-06-13T17:40:50+00:00

In linux:with crontab: I test with as : * * * * * /bin/echo

  • 0

In linux:with crontab: I test with as :
* * * * * /bin/echo "xin chao">> /home/iloveyou/text.txt . It work fine.

But when i test run an url:

*/3 * * * * /usr/bin/curl -k https://192.169.30.126/joomlandk2/index.php/exportmanager

It’s don’t working. when i run as: /usr/bin/curl -k https://192.169.30.126/joomlandk2/index.php/exportmanager from Terminal window. It run ok.
Why? I want set run https://192.169.30.126/joomlandk2/index.php/exportmanager with crontab. Can you help me? Thanks.

  • 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-13T17:40:51+00:00Added an answer on June 13, 2026 at 5:40 pm

    At OP request this answer details how to step-by-step, duplicate user environment in crond context.

    In crontab, put a call to a shell script.

    */3 * * * * /home/userX/dir/exportmanager.sh
    

    In the shell, echo or/and set environment before calling curl to have similar conditions of your own environment.

    Https use SSL keys, how curl looks for this keys, in which certificate repository?

    See --capath option.

    #!/bin/bash
    set VAR=value
    /usr/bin/curl -k https://192.169.30.126/joomlandk2/index.php/exportmanager\
       >/home/userX/dir/exportmanager.log
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have debian linux. I've created from user crontab -e this text: 0 *
Linux bash script: #!/bin/bash function Print() { echo $1 } var=* Print $var Execution
I am using crontab to run a java code on a linux server and
I created an app which is need to run in linux started by crontab.
I'm trying to run a scheduled cron job using a crontab from a linux
Linux bash script: function Print() { echo $1 } Print OK This script runs
[root@LINUX misc]# pwd /usr/local/openssl/ssl/misc [root@LINUX misc]# ./tsget -h http://tsa.opentsa.org:8080/tsa ../../bin/alllog.log.tsq ../../bin/alllog.log.tsq: fatal error: could
I'm looking at a crontab on a linux server and came accross the following
I am new to linux crontab command and i found this explanation about the
I'm using Ubuntu Linux 10.0.4. I want to run a script every 6 hours,

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.