Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

cannot get cron to work #957

@city41

Description

@city41

After setting up a crouton chroot, cron does not seem to work.

What I've done:

  1. setup crouton following steps in README
  2. sudo enter-chroot
  3. crontab -e
  • added * * * * * echo "hi from cron" >> /home/matt/hiFromCron.txt"
  • after a few minutes, see no output at either /home/matt within the chroot or at the "real" /home/matt outside of the chroot (I went there and added a matt directory)

ps -A | grep cron returns nothing. It definitely looks like cron is not running.

But doing sudo /etc/init.d/cron start just produces "Rather than invoking init scripts through /etc/init.d, use the service(8) ..."

So I do sudo service cron start and get "Unknown job: cron"

And sudo start cron gives me "start: Unknown job: cron"

I'm not convinced this is a Crouton specific issue, but hoping I can get some pointers on what to try next.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions