48.
Category:1997 films
Category:1997 animated films
Category:1990s adventure films
Category:1990s romantic drama films
Category:1990s biographical drama films
Category:American adventure drama films
Category:American films
Category:American biographical films
Category:American romantic drama films
Category:Biographical films about sailors
Category:English-language films
Category:Cultural depictions of Robert Ballard
Category:Films about ships
Category:Films about survivors of seafaring accidents or incidents
Category:Films directed by James Cameron
Category:Films produced by Cameron Mackintosh
Category:Films scored by James Horner
Category:Films set in the 1910s
Category:Films set in the 20th century
Category:Films set in 1912
Category:Films set in Michigan
Category:Films shot in California
Category:Films shot in Los Angeles
Category:Films shot in Michigan
Category:Films shot in Vancouver
Category:IMAX films
Category:Films with screenplays by James Cameron
Category:IMAX animated films
Category:IMAX films about the Titanic
Category:Lions Gate Entertainment films
Category:Best Drama Picture Golden Globe winners
Category:Films produced by Cameron Mackintosh
Category:Films produced by Gale Anne Hurd
Category:Films with screenplays by James CameronQ:
Can't run a prewritten bash script using cron
I'm trying to create a cron task to run a bash script in the background, and to send me an email on failure. This seems to be the code I've got so far:
touch test.sh
chmod +x test.sh
#!/bin/bash
# test.sh
echo 'test'
/bin/bash -c "sleep 30 && /usr/bin/php /var/www/test.php"
echo "test 2"
/var/www/test.php
From the crontab I've got this:
*/2 * * * * /var/www/test.php
The /var/www/test.php gets run every two minutes, but the echo 'test' isn't printed.
What am I doing wrong?
A:
The output of your script is not sent to the standard output of ac619d1d87
Related links:
Comments