Ticket #28 (accepted enhancement)

Opened 9 months ago

Last modified 9 months ago

No CRON support, e.g. for apps like Showtime & Pericam

Reported by: fastdump Owned by: saurik
Priority: major Component: Telesphoreo
Keywords: cron crontab pericam showtime 1.1.3 1.1.4 Cc: fastdump

Description

The following paths/files are in BSD Subsystem but not clean install of Cydia. These were needed to get Pericam to start taking pictures and for Showtime to start saving videos on a restored 1.1.4 iPhone

/var/cron/tabs/ /System/Library/LaunchDaemons/com.apple.cron.plist /usr/bin/crontab

Change History

Changed 9 months ago by fastdump

  • cc fastdump added

Changed 9 months ago by fastdump

and also /var/cron/tabs/root

Changed 9 months ago by saurik

  • owner set to saurik
  • status changed from new to accepted

*sigh*. Ok. I'll add cron ;P. I really didn't want to have to add it to the bootstrap package, though, because on Apple systems there is a _much_ better alternative to cron called launchd that is built into the distribution.

The support for cron from Apple sucks (and in fact, the historical idea of cron seems to be flawed). Near as I can currently tell, it actually wakes up every minute, and opens and reads all of the cron files (probably waking the phone up and burning battery power) in order to see if there are any cron jobs it needs to run for that minute. In comparison, launchd seems to correctly sleep until its actually needed.

The BSD Subsystem version of cron did this _no matter what_. The correct configuration that Apple uses at least only does this if you have at least a single cron on your system. I'll make certain to go with this for the solution.

*Wishes people like Pericam did more homework first ;P.*

This doesn't actually happen if you don't actually have cron's installed on your system, though

Changed 9 months ago by saurik

  • component set to Telesphoreo
Note: See TracTickets for help on using tickets.