Linux Crontab中传入当天日期

sudo -u www bash -c 'php test.php -d "$(date +%Y-%m-%d)"'