diff --git a/src/Command/ScrapeWebsite.php b/src/Command/ScrapeWebsite.php index 8178b64..da17e0c 100644 --- a/src/Command/ScrapeWebsite.php +++ b/src/Command/ScrapeWebsite.php @@ -76,6 +76,8 @@ class ScrapeWebsite extends Command $output->writeln('Update prices - DONE'); $output->writeln('COMMAND - DONE'); + file_put_contents('templates/lastscrape.html.twig', date('Y-m-d H:i:s')); + return Command::SUCCESS; } diff --git a/templates/footer.html.twig b/templates/footer.html.twig index 8eabd46..525f8c7 100644 --- a/templates/footer.html.twig +++ b/templates/footer.html.twig @@ -1,9 +1,12 @@
\ No newline at end of file