Thanks. I couldn't purge upstart, seemingly because of dependency problems:
Code:
$ sudo apt-get purge upstart
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
procps : Depends: upstart-job
Depends: initscripts but it is not going to be installed
E: Broken packages
webofunni: here's the output.
Code:
$ dpkg -L cron
/.
/usr
/usr/bin
/usr/bin/crontab
/usr/sbin
/usr/sbin/cron
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/crontab.1.gz
/usr/share/man/man5
/usr/share/man/man5/crontab.5.gz
/usr/share/man/man8
/usr/share/man/man8/cron.8.gz
/usr/share/doc
/usr/share/doc/cron
/usr/share/doc/cron/FEATURES
/usr/share/doc/cron/THANKS
/usr/share/doc/cron/README
/usr/share/doc/cron/README.anacron
/usr/share/doc/cron/README.Debian
/usr/share/doc/cron/TODO.Debian
/usr/share/doc/cron/copyright
/usr/share/doc/cron/examples
/usr/share/doc/cron/examples/stats-cron.pl.gz
/usr/share/doc/cron/examples/crontab2english.pl.gz
/usr/share/doc/cron/NEWS.Debian.gz
/usr/share/doc/cron/changelog.Debian.gz
/usr/share/bug
/usr/share/bug/cron
/usr/share/bug/cron/script
/usr/share/bug/cron/control
/etc
/etc/cron.hourly
/etc/cron.hourly/.placeholder
/etc/cron.daily
/etc/cron.daily/.placeholder
/etc/cron.daily/standard
/etc/cron.weekly
/etc/cron.weekly/.placeholder
/etc/cron.monthly
/etc/cron.monthly/.placeholder
/etc/cron.d
/etc/cron.d/.placeholder
/etc/init.d
/etc/pam.d
/etc/pam.d/cron
/etc/init
/etc/init/cron.conf
/etc/default
/etc/default/cron
/etc/crontab
/var
/var/spool
/var/spool/cron
/var/spool/cron/crontabs
/etc/init.d/cron
Code:
$ grep -v ^# /etc/init/cron.conf
description "regular background program processing daemon"
start on runlevel [2345]
stop on runlevel [!2345]
expect fork
respawn
exec cron
Code:
$ sudo start cron;tail -10 /var/log/syslog
May 24 03:45:56 localhost kernel: [51546.572735] wlan0: RX AssocResp from 00:1c:f0:43:7f:72 (capab=0x431 status=0 aid=1)
May 24 03:45:56 localhost kernel: [51546.572737] wlan0: associated
May 24 05:39:23 localhost sudo: pam_sm_authenticate: Called
May 24 05:39:23 localhost sudo: pam_sm_authenticate: username = [macho]
May 24 08:13:50 localhost sudo: pam_sm_authenticate: Called
May 24 08:13:50 localhost sudo: pam_sm_authenticate: username = [macho]
May 24 09:09:03 localhost sudo: pam_sm_authenticate: Called
May 24 09:09:03 localhost sudo: pam_sm_authenticate: username = [macho]
May 24 23:13:24 localhost sudo: pam_sm_authenticate: Called
May 24 23:13:24 localhost sudo: pam_sm_authenticate: username = [macho]
Code:
$ sudo /etc/init.d/cron start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service cron start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start cron
Bookmarks