Sponsored Content
Full Discussion: Wget Cronjob, Godaddy.
Top Forums UNIX for Beginners Questions & Answers Wget Cronjob, Godaddy. Post 302979718 by embus on Thursday 18th of August 2016 08:03:29 AM
Old 08-18-2016
Question Wget Cronjob, Godaddy.

Hello,

I'm trying to automate a wget cronjob for Php 5.4 on Wordpress - using Cpannel on a linux server hosted by Godaddy. Below is the command I'm using, which isn't working.

Code:
wget -q -O "[MYHTTPWEBSITE]/wp-cron.php?import_key=[MYIMPORTKEY]&import_id=[MYID]&action=trigger" >/dev/null 2>&1

========== EDIT

Thank you so much for everyone that pitched in, this was the command that eventually worked.

wget -O - "http://mywebsite/wp-cron.php?import_key=[MYIMPORTKEY]&import_id=[MYID]&action=trigger"

In my case, putting a simple - dash after the -O fixed the problem.
In my case, I simply wanted to call the link to process a script in wp-cron.php.
If someone could clue me/others in as to why the - made the difference I'd appreciate it.

Last edited by embus; 08-30-2016 at 07:40 AM.. Reason: Solved
 

8 More Discussions You Might Find Interesting

1. HP-UX

CronJob

Dear Guru, I have submitted some cronjobs that has been running for quite sometimes. However, today I counter some cronjob did not run. Can you please explain what causes this to happen. Any system setting that limit number of cronjob per minutes to be started, etc? Thanks. Kelly (1 Reply)
Discussion started by: hcng08
1 Replies

2. Solaris

at vs cronjob

HI, What is the differnece between at / con job? thanks in advance. (1 Reply)
Discussion started by: mokkan
1 Replies

3. UNIX for Dummies Questions & Answers

how to cancel a cronjob if the cronjob still running

hi everyone I'm newbie in this forum hope I can get some help here :) I have a command in crontab that executed every 1 minute sometime this command need more than 1 minute to finish the problem is, the crontab execute this command although it's not finish processing yet and causing the system... (7 Replies)
Discussion started by: 2j4h
7 Replies

4. UNIX for Dummies Questions & Answers

Cronjob help

Hi I am very new to linux. I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me. All I have is this... */15 * * * * ls -l | wc -l | | mail -s "This is just a test" I would... (2 Replies)
Discussion started by: LinuxNewb
2 Replies

5. UNIX for Dummies Questions & Answers

Postfix Dovecot Roundcube Godaddy

Long story short, I have everything working in my SOHO which would include Postfix,Dovecot(imap),Roundcube,bind and is ready to recieve email from the outside using this tutorial: https://workaround.org/ispmail/wheezy I also setup my internal DNS server using: https://wiki.debian.org/Bind9... (2 Replies)
Discussion started by: metallica1973
2 Replies

6. Shell Programming and Scripting

Running a KSH file from VPS on Godaddy

i have looked for a week and tried a few things, but nothing seems to work so joined here. I have a go daddy account and also a vps in germany. In my vps, i run a code script (we will call it codegen) when i run ./codegen i get my question of how many codes do i want to make. With my answer... (9 Replies)
Discussion started by: uksatman
9 Replies

7. Shell Programming and Scripting

How to download Images and Json file from server(godaddy) to Local machine (Ubuntu 14.04).?

Hi Guys, Just entering the Linux word, So I need help to write a script on my local machine(Ubuntu 14.04) that continuously check the particular folder(contains images) and a json file on the server and download whenever new images are added to that folder and whenever there is a change in the... (10 Replies)
Discussion started by: g4v1n
10 Replies

8. Shell Programming and Scripting

Wget - working in browser but cannot download from wget

Hi, I need to download a zip file from my the below US govt link. https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP I only have wget utility installed on the server. When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies
plucker-prc-install(1)					      General Commands Manual					    plucker-prc-install(1)

NAME
plucker-prc-install - fetch and install Plucker viewer application on a Palm pilot SYNOPSIS
plucker-prc-install [options] DESCRIPTION
This manual page documents briefly the plucker-prc-install command. This manual page was written for the Debian distribution because this program was created for the Debian package. plucker-prc-install is a program that fetches and installs the Plucker viewer application. The program uses wget to get the .tar.bz2 archive from the Web. You need to be connected to the Internet and have wget working correctly in order to use this program. You may have to configure the environment variable http_proxy. You can take a look at the lynx command manpage to get information about http_proxy. The program tries to use the correct language version of the viewer according to the environment variable LANG. The program then uses either gpilot-install-file or pilot-xfer to transfer the three .prc files to the Palm pilot. With pilot-link 0.12.x it is mandatory to provide a port to use. plucker-prc-install first use the value of the PILOTPORT environment variable. If PILOTPORT is not defined it uses /dev/pilot. If the file /dev/pilot does not exist it uses usb:. OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. --nohires installs the low-resolution version of the Plucker viewer. If you are using a Palm with a 160x160 screen (Palm m500-series and ear- lier) you can save approximately 90 KB by installing the low-resolution version of the viewer. Note that the hires version will still work on older Palms, but will just take up unnecessary space. -h, --help Show summary of options. -v, --version Show version of program. SEE ALSO
pilot-xfer(1), wget(1), gpilot-install-file(1), lynx(1). AUTHOR
This manual page was written by Ludovic Rousseau <rousseau@debian.org>, for the Debian GNU/Linux system (but may be used by others). August 22, 2005 plucker-prc-install(1)
All times are GMT -4. The time now is 03:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy