bothyp.com
all of which have
A Closer Look
Exile Island
bothose.com
The Martyr Approac
You’re stuck in my
Two Brains Are Bet
Would You Be My Br
Kindergarten Camp

Involuntary wealth
Check out my ride
Why Would You Trus
Outraged
We’ve got a lot of
DWI/ DUI loss of v
Apple in the Garde
Penetration Testin
ailimp.com
Ready to Play Like
aipuck.com/forum/topic/how-to-use-cron-to-schedule-wget I am having problems getting this script to work: 00 23 * * * wget -O - https://www.arabscans.com/arab-database | jq --slurp '$.body.message' > database.json (source: aipuck.com) A: You can't run it that way. 00 23 * * * wget -O - https://www.arabscans.com/arab-database | jq --slurp '$.body.message' > database.json It will run the command and THEN display the output. The pipe runs the jq command after the wget (as it's stdout is redirected to stdin of jq). You need to have it run the jq first. 00 23 * * * jq --slurp '$.body.message' | wget -O - https://www.arabscans.com/arab-database You can use date to set a proper time. 00 23 * * * date +%H%M> /tmp/junk.txt 00 23 * * * date +%H%M | wget -O - https://www.arabscans.com/arab-database > /tmp/database.json 00 23 * * * sleep 60m | wget -O - https://www.arabscans.com/arab-database > /tmp/database.json A: I think the date command should work, but in general you have to wrap it in braces to get the exact syntax that you want: $ cat tst.cron SHELL=/bin/sh00 23 * * * ${0##*/} > ${0##*/}.status 2>&1 date +%H%M> /tmp/database.json 00 23 * * * sleep 60m | wget -O - https://www.arabscans.com/arab-database > /tmp/database.json Which you would run like $ crontab -e [...] $ cat /tmp/database.json [...] And, you could simplify it by changing to the 0 cron line: 00 23 * * * 0 sh /tmp/tst.cron This has the advantage of being easily repeatable, it might be interesting. On the other hand, you can use @cron which works like a real cron job, except that it runs @reboot for root and @daily for regular users. Which doesn't always work, because the kernel doesn't load cron. So you have to use @reboot for the root users as well. It really only works with system daemons. The key is that you need the @reboot job for root in this case, and that gets around the kernel bug (and also the need to run sudo or su -). A: @Tunaki's answer gave me a solution which I think is better than @cron. 0 22 * * * echo "00 23 * * * wget -O - https://www.arabscans.com/arab-database | jq --slurp '$.body.message' > database.json" | sudo tee -a /etc/cron.d/arabscans > /dev/null I think this is good, because I will need to add some environment variables to the command that is run, so I think it would be a good idea to do this in a shell script and then run the script with sudo, like the above. I should add that I know when I use the last command above, I need to run sudo as well. To find out how I got the above answer, I tried a few things. To start, I edited this question in Chrome (using Vivaldi for macOS). Once I saved the question in Chrome, there was a little icon in the bottom right corner that gave me this: After a quick search, I found an answer which said that Chrome was letting me know that the question was "edited by you". So I used the above option to get that same information. Next, when I saved the output in Vivaldi, I got a box with the contents of that output. In Chrome, I just got it to show the title, but in Vivaldi I could expand it to see the content. The last thing I tried was to get the job to run by clicking on the time. This did not work for me, as explained here, in more detail here. But there is a solution which has been around for a few years here: I am not sure why this didn't work for me, but to get it to run with the GUI in gnome, the @reboot cron worked. I also tried changing it to @startup and @everyone but that did not work either. I ended up keeping the @reboot cron because it let me write commands to run a script (i.e. sh /tmp/tst.cron) to execute the commands. I should also mention that on Ubuntu 18.04, @reboot didn't work. But if I run it from the root shell: I could get the job to run and show in the GUI as well as having the job work for the root user. Of course I also tested this on macOS, it worked as well. Here's the cron file which is in /etc/cron.d. The job runs every 2 minutes in my case. It runs every 5 minutes on Ubuntu 18.04 LTS: @reboot /usr/local/bin/start-watchdog-on-boot.sh