10/31/2023: Localization News - Dead of the Brain 1!

No, NOT a trick, a Halloween treat! Presenting the Dead of the Brain 1 English patch by David Shadoff for the DEAD last official PC Engine CD game published by NEC before exiting the console biz in 1999! I helped edit/betatest and it's also a game I actually finished in 2023, yaaay! Shubibiman also did a French localization. github.com/dshadoff/DeadoftheBrain
twitter.com/NightWolve/PCENews
Main Menu

anyone know crontab?

Started by soop, 06/27/2012, 10:11 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

soop

Weird question here, but since most people here are quite techy, I thought I'd just throw this out.

I have a shell script that I run every night at 6am which calls a bunch of other stuff like expect scripts, awk scripts, php and mysql, and it takes a while to complete (an hour + at least).

Well I've just had a look at the database it creates, noticed some missing information, then run the script and saw the info that should have been there, which indicates it's not running.

The crontab is under the same user I just used, and gives an absolute path to the shell script.  I'm sure the notation is right, but might I need absolute paths in every script the shell script calls?  In which case, cding to the directory within cron should work (if I don't have absolute paths).

It's a fucking huge script I knocked together when I first got here, so to change it now would probably be a bit of a mission.

*edit* never mind, it was the relative links in the sub scripts.
Quote from: esteban on 04/26/2018, 04:44 PMSHUTTLECOCK OR SHUFFLE OFF!