Hi Again...
I`m trying to get that script to work ... I asked this same thing a couple of weeks ago and then it looked that it started to work... but it did not, after many tries, I `m totally lost with this... I turned that to my email and it gives this kind of error: " /bin/sh: -c: line 0: syntax error near unexpected token `newline'
/bin/sh: -c: line 0: `php /public_html/realtimelog.php >' "
And the cron job is like this: * * * * * php /public_html/realtimelog.php > /dev/null 2>&1
I'm trying to make a chart that looks like a one-week weather data, and it would be very much better to collect that data from server than from my PC. There is so much traffic from and to my PC that in a one day it goes broken, and then it was that... Or is there better / easier way to collect that data from my server?
I thank you in advance for your advice of earlier....I moved this q to here from general topics, if this is more suitable place, because I use Saratoga template...
with best regards:
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
realtimelog.php
Moderator: daj
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: realtimelog.php
The server seems to be truncating the command line after the first '>'. You could try removing the ' > /dev/null 2>&1', but this would presumably mean that you would get an email each time the command runs. You really need to ask your web host provider for help.
Steve