as_user=host=localhostcommand=whoami > /home/pi/hcrontest/test.outnotify_email=notify_message=when_month=*when_day=*when_hour=*when_minute=*when_dow=*template_name=# user namespirootssh localhost whoami > /home/pi/hcrontest/test.outhcron-reload2017-09-29T13:37:00.489829|work||0|0.0006352017-09-29T13:37:00.491777|sleep||602017-09-29T13:38:00.414464|message||info|scheduling for next interval (2017-09-29 13:38:00)2017-09-29T13:38:00.417590|message||info|signalHome was modified2017-09-29T13:38:00.426471|message||warning|Could not install snapshot file for user (pi).2017-09-29T13:38:00.429144|work||0|0.0005712017-09-29T13:38:00.431191|sleep||602017-09-29T13:38:00.521099|message||info|scheduling for next interval (2017-09-29 13:38:00)2017-09-29T13:38:00.523935|message||info|signalHome was modified2017-09-29T13:38:00.527740|work||0|0.0011682017-09-29T13:38:00.529731|sleep||60
{
"localhost": True,
...
}sudo dpkg -i hcron_0.21_all.deb
# hcron.conf{ "allow_localhost": True, "allow_root_events": True, "command_spawn_timeout": 15, "events_base_path": None, "log_path": "hcron.log", "max_events_per_user": 50, # hidden files, emacs backup files "names_to_ignore_regexp": "(\..*)|(.*~$)", "smtp_server": "localhost", "test_net_username": None, "use_syslog": False,}
2017-09-29T15:38:01.001766|work||0|0.0006332017-09-29T15:38:01.003708|sleep||592017-09-29T15:39:00.030255|message||info|scheduling for next interval (2017-09-29 15:39:00)2017-09-29T15:39:00.033219|message||info|signalHome was modified2017-09-29T15:39:00.039914|message||warning|Could not install snapshot file for user (pi).2017-09-29T15:39:00.042624|work||0|0.0005952017-09-29T15:39:00.044579|sleep||602017-09-29T15:39:00.185166|message||info|scheduling for next interval (2017-09-29 15:39:00)2017-09-29T15:39:00.188002|message||info|signalHome was modified2017-09-29T15:39:00.191505|work||0|0.0007152017-09-29T15:39:00.193457|sleep||60
~/.hcron/<hostname>/eventsIs there a file at:
~/.hcron/<hostname>/snapshotIs the snapshot readable?
tar tvfz ~/.hcron/<hostname>/snapshotAre the /var/lib/hcron directories in place? If you do:
ls -l /var/lib/hcrondo you see something like:
total 8What about the /var/spool/hcron? If you do:
drwxr-xr-x 2 root root 4096 Sep 20 08:23 event_lists
drwx------ 2 root root 4096 Sep 20 08:23 tree
ls -ld /var/spool/hcrondo you see something like:
drwxrwxrwt 2 root root 4096 Sep 20 08:23 /var/spool/hcron
--
You received this message because you are subscribed to the Google Groups "hcron-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcron-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.