Menu

#5074 Cronjob handler

1.870
open
cron (6)
5
2018-02-02
2018-01-16
Allan Lohse
No

This is on webmin version 1872

when i edit conjobs it seperates it with tabs instead of space, and then cronjob won't run.
before
0 * * * * php /home/ipnummer.......
after edit
0 * * * * php /home/ipnummer......
Then i need to manualy edit it back to not using tabs

Discussion

  • Allan Lohse

    Allan Lohse - 2018-01-16

    image of error instead

     

    Last edit: Allan Lohse 2018-01-16
  • Jamie Cameron

    Jamie Cameron - 2018-01-18

    Which operatijng system are you running there? Webmin has always used spaces, and this works fine on all systems that I'm aware of.

     
  • Allan Lohse

    Allan Lohse - 2018-01-18

    Its a clean install ubuntu 14.04, language Danish and runned the virtualmin install script. I have 10 servers running 14.04 with older webmin versions and there is not this problem.
    I have tried to install 2 more servers and both have same issue..

     
  • Jamie Cameron

    Jamie Cameron - 2018-01-19

    Are you using the regular cron package? You can check by running dpkg --list | grep cron

     
  • Allan Lohse

    Allan Lohse - 2018-01-22

    web17@vm:~$ dpkg --list | grep cron
    ii cron 3.0pl1-124ubuntu2 amd64 process scheduling daemon

     
  • Jamie Cameron

    Jamie Cameron - 2018-01-23

    Ok, that looks like standard cron.

    Are you sure that the job isn't executing?

     
  • Allan Lohse

    Allan Lohse - 2018-01-24

    after a change in Webmin i have to manualy edit the crontab -e to remove tab seperation and make space seperation for the cron to work again.

     
  • Jamie Cameron

    Jamie Cameron - 2018-01-25

    Did you happen to notice which Webmin version triggered this?

     
    • Allan Lohse

      Allan Lohse - 2018-01-25

      I have made a clean install ubuntu 14.04 run the old virtualmin install script because i need php5, put in a webmin backup for a domain. This domain uses cron to do alot of things and they did't work.
      The i checked the webmin version to be 1872.
      Is it posibble to force a lower version in the install script ? Then i will test that.

       
  • IMT

    IMT - 2018-01-25

    and to answer your question if the system is running low on memory 75% of the ram is free and the use of swap is 0 bytes.

     
  • Allan Lohse

    Allan Lohse - 2018-01-25

    Same thing happens if i add cron jobs to /etc/crontab
    Picture is after a edit in webmin

     
  • Allan Lohse

    Allan Lohse - 2018-02-02

    Great :-) Thanks

     

Log in to post a comment.

Monday.com Logo