I'm attempting to run all my jobs using the URL Method. The URL I'm trying (anonymized here of course) is:
Visiting this URL gives me a 404 error.
To test that cron runs at all on my server, I created a simple
<?php mail ("email@example.com", "Cron is Go", "Hello World from my-cron.php!"); ?>
and put it in a file
my-cron.php. It sends me an email when visited. I then created a cron job to
curl its url every minute. It worked in every directory I moved it too until it got to
bin at which point the cron job did nothing and visiting the URL in browser gave me a 404 error.
Changing the permissions on
0755 allows the script to run. I thought that the jobs URL would work, but I still get a 404 error.
Update: I changed
0755, and it works now. Is this safe to do?