Koozali.org: home of the SME Server

cron not working

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: cron not working
« Reply #15 on: April 17, 2018, 05:47:27 PM »
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: cron not working
« Reply #16 on: April 17, 2018, 06:34:57 PM »
Thanks.
I will give it a try later tonight and report results in bugzilla also
If you think you know whats going on, you obviously have no idea whats going on!

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: cron not working
« Reply #17 on: April 17, 2018, 07:00:21 PM »
I had a minute, and tried the updated version, and the script that it generated was the same as the previous version.
I will report it in the bug tracker also.

Thanks
If you think you know whats going on, you obviously have no idea whats going on!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: cron not working
« Reply #18 on: April 17, 2018, 07:13:23 PM »
Ok... at least we know.

Add it as a bug and we'll try & get it resolved PDQ
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: cron not working
« Reply #19 on: April 17, 2018, 07:18:10 PM »
I posted to bug 9681 if that's ok
If you think you know whats going on, you obviously have no idea whats going on!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: cron not working
« Reply #20 on: April 17, 2018, 07:20:21 PM »
I posted to bug 9681 if that's ok

Yes that's fine. I saw.

Note I had changed the default Option to Test.

We'll take a look at try and get it working correctly.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: cron not working
« Reply #21 on: April 17, 2018, 10:29:14 PM »
Which ^M  or ^Ms should I eliminate?

All of them. You can use dos2unix.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: cron not working
« Reply #22 on: April 17, 2018, 10:30:38 PM »
Code: [Select]
{^M
  use esmith::config;^M
  use esmith::db;^M
^M
  local %dungog;^M
  tie %dungog, 'esmith::config', '/home/e-smith/db/dungog';^M
^M
...

Wow, that is really ancient code...

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: cron not working
« Reply #23 on: April 18, 2018, 01:06:24 AM »
Wow, that is really ancient code...

LOL - it certainly is ;-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: cron not working
« Reply #24 on: April 18, 2018, 01:39:35 AM »
I did clean it up with dos2unix, and it got rid of the error, but it still will not trigger the transfer. I can trigger it manually from within server-manager screen, or from the command line.
I am still playing with the original dungog version, but with the cleaned up template.
If you think you know whats going on, you obviously have no idea whats going on!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: cron not working
« Reply #25 on: April 18, 2018, 03:17:19 AM »
I did clean it up with dos2unix, and it got rid of the error, but it still will not trigger the transfer. I can trigger it manually from within server-manager screen, or from the command line.
I am still playing with the original dungog version, but with the cleaned up template.

OK, but see my notes on the bug.

Simply cleaning the template is not the end of the problem. It might be a quick fix, but not a long term solution, and isn't really a fix in any event.

I'll try and see if I can get something better over the next few days, work allowing. But you aren't ever going to get it working properly doing what you are at the minute. A lot of the code is EXTREMELY old and needs an axe through it.

Don't waste your time on it.

I'll do what I can - watch the bug.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: cron not working
« Reply #26 on: May 18, 2018, 08:55:42 PM »
As a further FYI I have recoded the web panel which basically seems to work but will need testing.

I have a weeks holiday and will try and spend a little time trying to finish the other parts so we can build a complete rpm for testing.

Sorry for the delays - earning a crust has got in the way of playtime :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation